Fixed first parameter in GET url
Moved get_preferences convenience function to FrameworkApplication
Added get_preferences convenience function for tasks
* added preference_helper trait to FrameworkTask