Case base diagnostics module

Added basic diagnostics to the app
Integrate with bjyauthorize for /diagnostics