Switch a handful of flags over to the new registration style.

Review Request #1097 — Created Oct. 1, 2014 and submitted — Latest diff uploaded

jsirois, patricklaw, zundel

This includes a superclass-subclass scenario (ConsoleTask-ListGoals)
and a GroupTask scenario (JvmCompile).

Note that the code that reads and uses the flags needn't change yet.
The legacy flags layer places the values in the existing destinations.

Note: Relies on https://rbcommons.com/s/twitter/r/1096/.

Once this is in I will write up a quick guide to porting flags,
and then we can set ourselves loose on them!

Ran all tests. Manually ran the relevant pants goals with various flag settings.