Update tests to reflect recent structural changes.
Add some 'final' keywords and an assert.
Add Jeff's 2D PhillipsHeadObjective.
Fix some exceptions that were too strict, write ConstantObjective and MultiplicatibeObjective, and fix the default constructor for PhillipsHeadObjective.
Modify some comments.