[MGPG-3, MGPG-5, MGPG-6, MGPG-8] Bunch of fixes that have been sitting on my hard disk for way too long. Update pom to declare all depenencies explicitely.