clean up how objective functions are added, clean up validation for objective functions to allow them to be nested
clean up how objective functions are added, clean up validation for objective functions to allow them to be nested

simpeg/simpeg