Added global authorization filters to to controller configs.
Convention to prevent model constructors referring to the global object when 'new' is omitted.
Ensure callbacks passed to the datacontext are functions before executing.
Corrected paste errors.