[Fix #39]Fix configuration load

Load the configuration file before starting the download of the
application.

Configurations are stored in window and then are copied in AngularJS
constants.

Change the default root path of API and of the web application.
Update test scenarios

Now the API is at path `api` and the web client at the root by default.
Merge branch 'fix_load_config'