Most API calls now have an optional `role` parameter. Specify "staff" or "director" there to fetch data of the specified type. Default is "staff", which was the only type possible previously.
FIXED: Fetching measurements for a report will now always be done in the same staff/director role of the report.
FIXED: Director reports were not being saved in the correct role
AD.sal.* functions are now abstracted as static functions of the GMA class.
Can now pass in a 'log' option to use a different message logging function other than the console.log() default.
Merge branch 'director-reports'