Implemented controller dependency injection.
Adjusted injector naming.
Merge pull request #911 from pluma/foxx-controller-di

Foxx Controller dependency injection
moved gharial from /system to /_api
Replaced legacy Foxx auth with new and shiny modular auth logic.
session.destroy -> session.delete.
Added authentication cookieSecret.
Formatting.
Adjust auth tests.