allow manual configuration via requirejs' config() of basePath
allow manual configuration via requirejs' config() of basePath


* usually the basePath is automatically detected depending on
platform/environment, but in case the mmir-lib but in case the mmir-lib
and the framework files (controllers, views etc) are located somewhere
different than the default location, the this configuration can be used:


Example

[before the framework initializes: set base-path to resources
(controllers, models etc.) to assets/]
     
mmir.config({config: {'constants': {
  basePath: 'assets/'
}}});

* BUGFIX use basePath for determining worker's sub-path
mmig/mmir-lib