SQLscripts
SQL refracting
SQL refracting (devices)
SQL refracting (device_pending)
SQL refracting (device_awake)
SQL refracting (notifications)
SQL refracting (features)
SQL refracting (policies)
SQL refracting (user_policy_mapping)
SQL refracting (platformfeatures)
SQL refracting
SQL refracting
Remove commented SQLs
SQL refractor
SQL refractor
Removing install and uninstall checks
Adding internal prefix to roles
Policy modules changes
Merge branch 'rc2' of https://github.com/WSO2Mobile/mdm into rc2

Conflicts:
	api/deviceRouter.js
Merge branch 'refactor_sql' into rc2

Conflicts:
	api/deviceRouter.js
	modules/policy.js
	modules/webconsole.js