E2E tests setup:
- Added configuration for e2e tests with protractor directconnect with
chrome and firefox
- E2E tests use the demo app
- Adjusted common testing settings
- Created a couple of E2E tests for the detection service
Change e2e browser to phantomjs:
- Old versions of protractor and PhantomJs had to be used. Latest versions
  do not work together.
- Added grunt aliases for common tasks (grunt unit, grunt e2e, ...)
Extracted configuration load from api detection:
- Created a new module AppConfigLoader in charge of this
- Restored api-detection unit tests
- Added e2e tests for to dist workflow
Changed app-configuration to a new structure
allowing to split modules into multiple files:
- Changed  grunt 'concat' task to generate single file modules for dist
- Removed external libraries from the generation of
  'appverse-html5-core.js'
- Cleaned up gruntfile
- api-configuration.js is not splitted in several files.
Structured AppCache module into multiple files:

- When creating 'dist', files are combined and uglified to provide a single api-cache.js
- Included ngAnnotate to automatically include dependency annotation. No
  need to manually include them
Cleaned gruntfile
Split api-detection in several files
Changed structure of all modules (split into files):

- Grunt task 'concat:modules' generates one file per module
Added more e2e tests

For api-translate and api-performance
Created AppRouter

This module allows to decouple the main module from ui.router
Improved api-main
Removed dependency of AppLogging from AppDetection.

Now AppLogging can work without AppDetection
AppDetection is only injected in AppLogging if the module is present
Decoupling:

- Decoupled AppLogging from AppDetection
- Decoupled AppRest from AppSecurity
Decoupling:

- Decoupled AppRest from AppCache. Integration of these two (if loaded)
	is orchestrated by the main module.
Api main only includes compulsory modules:

- AppMain
- AppConfiguration
- AppConfigDefault
- AppConfigLoader
Gruntfile cleanup
Auto inject script tags in demo's index.html

src files are automatically injected into index.html
when a change is detected.
Decoupled AppConfigLoader from AppDetection
Refractored COMMONAPI

Extracted integration to another object 'ModuleIntegrator'
Added index-dist, as it is not autogenerated.