MISC: added /api/authcheck to the api

Change-Id: I4f1fce29e12327c857519c644bbf90ea99385073
MISC: streamlined /api/authcheck response

Change-Id: I3db692dd2643d3b35047c0b0c0b9444479c023bf
- Basic login request
- Tidy up

Change-Id: Ia7d2007c09a0ab7801e9291bfd23dc3b47152074
Merge "- Basic login request - Tidy up" into feature/boomChika
Basic navbar added

Change-Id: I8cc1f3f1173836ed9e3c05b74209c21aede19ae6
Merge "Basic navbar added" into feature/boomChika
Merge "MISC: streamlined /api/authcheck response" into feature/boomChika
Merge branch 'develop' into feature/boomChika

Change-Id: I49c1506e3cdfe138ae4da868f44b28643de36585
- #8580 - Initial Project Dashboard view
- NOTE: Dummy data/projects.json file added for now

Change-Id: Ida52dee6dbbd11e431a12faa97e0ea48ce0a26f4
Initial changes to make DB calls async (sort of) so that multiple connections can be created and ensure that schema are correctly loaded into mongoose.
Also solidifies preload procedure as event based sytem was not ensuring models loaded in required order for dependecy conditions

Change-Id: I2445b87079f92bf4441a0d84301fb8d8223cf4ca
Task #8710

Fix for makefile to run on Windows
Change to filestorage tests to make more asynchronous

Fixed before all hook in tests that fails with duplicate tenant/user

Change-Id: I8a38ea81cc4bd95bb42e3ae7832218d71c3f93e8
Merge "Task #8710" into Async_DB
Fixed the readyState of the models dropping.
Continued to swap over modules to Async DB model
Module Preload now completes via async event calls

Server started successfully

removed console calls

Merge branch 'Async_DB' of ssh://pi.learningpool.com:29418/adapt-builder-core into Async_DB

Change-Id: Ib0d3b1a51e4c0bf4a81a4bd9a4e82c028d1ae454
Fixed the tests and made some mods to the modules

Change-Id: I99c8025f339c12550d4dac170930821e46683deb
OUTSTANDING: Contentmanager tests fail with 400 message
Fixed the failing tests for contentmanager

Change-Id: Ibd2ead62231e39377cb5fdeb9de825ec20feb990
Makefile : removed the --check-leaks option as npm module contains a leak
package.json : added rimraf to the devDependencies
localfs.js : updated tests
setup.js : modified setup and teardown process
lib.contentmanager.js : refactored test on advice from DH

Change-Id: I5441544ac3f5c7384ddf708282590c63e579103f
Merge remote-tracking branch 'origin/feature/boomChika' into Async_DB

Conflicts:
	.gitignore
	lib/auth.js

Change-Id: I495c39d44fbd7ddb6ba7f4c817a2726dd38508c2
Some simple housekeeping to put all frontend  webpage code into /frontend

Change-Id: I626c26b62bcffda04e9f83085f77614b9dada12c
Asset manager

Conflicts:

	Gruntfile.js
	lib/application.js
	lib/permissions.js
	lib/tenantmanager.js
	lib/usermanager.js
	package.json

Change-Id: I3f0b634d4dd23c0267129c62bebc1949db12b14d
Refactor and update of the frontend beginings

Linked views to models where appropriate
Established namespaced events via Agregator
Connected view rendering to events
Extracted portions of the navigation into Handlebar.js partials for quick rendering

Tweaks to the backend to facilitate user profile viewing/editing

Other off changes, lots of todo's

Change-Id: Id8b430734b417c4215cfcf55d78d0feeeeddf9aa