Code refactor : -
license > resources
mdm.apk > resources
Removing db code from app.js
Fixing code structure of index.jag
Added try catch for db code
Code refactor:
Extract helpers to a helper module
Removing mam policy api
Removing mam module
Fixed bugs in index.jag
Added db support from common module to init script
Code refactor:

config/app.js > config/init.js
moved iOS related .jag files to ios_utils
moved login related .jag files to controller
removed ignores in index.jag and fixed jaggeryconf for new changes
Removing test.jag
Removing testpush.jag
Code refactoring:
Removing tree data
Delete Dashboard-back.js
Removing Handlebars and using handlebars in modules
Removing commented code in iosmdm.js
Deleted sample.js
Merge branch 'refactor_code' of https://github.com/WSO2Mobile/mdm into refactor_code

Conflicts:
	config/init.js
	index.jag
	ios_utils/deviceloginsign.html
	jaggery.conf
	modules/common.js
	test.jag
Added reportRouter.js
Get license based on domain
added reports
Merge branch 'refactor_code' into rc1

Conflicts:
	config/tempConfigs/config.json
	mdm.apk
	mdm.iml
	mdm_old.apk
	modules/common.js
	resources/mdm.apk
Merge branch 'rc1' of https://github.com/WSO2Mobile/mdm into rc1
merging
Merge branch 'rc1' of github.com:WSO2Mobile/mdm into rc1
Merge branch 'rc1' of github.com:WSO2Mobile/mdm into rc1
merge report router
Merge branch 'rc1' of github.com:WSO2Mobile/mdm into rc1

Conflicts:
	api/reportRouter.js
Fixing handlebars issue
Merge branch 'rc1' of https://github.com/WSO2Mobile/mdm into rc1
Retrieve license based on domain
Merge remote-tracking branch 'origin/rc1' into rc1
moving ios enrollment files to ios_utils