Move configuration out of package

Configuration should not be part of package, placed it under etc in root
of application

Signed-off-by: Vasudev Kamath <kamathvasudev@gmail.com>
Fix typo in clean target
Rename moduleloader to helper module

* Refactor to contain class ModuleConfigHelper, which has class level
  objects which generates module names and required information from
  config one time which can be accessed for life time of application
  using relevant class methods
* load_modules is now a class method of ModuleConfigHelper class

Signed-off-by: Vasudev Kamath <kamathvasudev@gmail.com>
Remove hard coded config initialization from class

Till now there was a instance config created once by using local config
file which didn't allow testing with various configuration, remove it
now and made Config class public which should be initialzied by factory
with alternate configuration files if required.
Refactor to use new configuration and helper class

* Configuration file should be passed to factory via create_app
* Multiple module and module_display maps are created once and used via
  helper module.
* Modify template to take module and display name tuples as argument and
  use module name as url end point. Fixes #23.

Signed-off-by: Vasudev Kamath <kamathvasudev@gmail.com>
Pass configuration file path to create_app

Pass config file path to newly modified function and add debug run
method (run_simple)
Implement module not loaded, interface not found error

* Implement the error to be returned when module is not loaded either
  because its disabled by admin or not found in system.
* Implement error return value when getInstance interface is not
  implemented by requested module.

Signed-off-by: Vasudev Kamath <kamathvasudev@gmail.com>
Use custom configuration file for testing

Signed-off-by: Vasudev Kamath <kamathvasudev@gmail.com>
Rename blueprint name for JSONRPC

New name for JSONRPC handling blueprint is api_jsonrpc, this should be
used in all module templates with url_for call.

Signed-off-by: Vasudev Kamath <kamathvasudev@gmail.com>
fix to use new interfaces
pep8 cleaning
Enable module page visiting tests