Merge pull request #54 from clevertech/modularity

Modularity including background-tasks, orm, odm, example-module and auth modules
hotfix(require): Tests within application will now require('utils') instead of ./utils.
Unit tests refactoring, they are now working properly
Merge branch 'master' of https://github.com/clevertech/cleverstack-node-seed into modularity
Merge pull request #55 from clevertech/modularity

Unit tests refactor
Cleaning up the Gruntfile.js
Fixing the loading pattern of index.js, testEnv.js, backgroundTasks.js and rebase.js - Updated the ModuleClass.js as well
Unit tests refactoring, all unit tests work now (you need to set your NODE_PATH correctly)
ORM rebase and seedModels plus seedData
Installed missing "i" dependency
Integration/e2e tests refactored to work correctly
Fixed problem with routes not being initialized correctly
Merge pull request #56 from clevertech/modularity

Modularity unit & integration/e2e refactor + orm rebase & seedModels/seedData
BackgroundTasks fixes and cleanup
Merge branch 'master' into modularity
Merge pull request #57 from clevertech/modularity

BackgroundTasks refactored and working
Allow any type of module to be used with the moduleLoader, this means you can export whatever you want and it is still valid as a module
Fixing BaseService has invalid code
Adding in missing variable in ORM and ODM modules
Expanded the moduleLoader to fire a "modulesLoaded" hook to each module after all modules have loaded and "preRoute" was modified to actually be just before the initRoutes hook is called for each module
Allowing modules to have utils as well as the lib directory and modified the magic module util to include files in the lib folders
ORM Model Associations in the ORM module and comments on ODM module
Merge branch 'master' of https://github.com/clevertech/cleverstack-node-seed into modularity
Merge pull request #58 from clevertech/modularity

Modularity updates to moduleLoader and both the orm and odm modules
Cleaning Gruntfile.js