change web console
add new function to common.js
Merge branch 'rc1' of github.com:WSO2Mobile/mdm into rc1

Conflicts:
	modules/common.js
	modules/device.js