Merge pull request #370 from liuchuangww/user

Fix homepage and profile
Refactored user activity APIs to support custom/dynamic link
Moved root user definition from permission service to user service
Added protection against root user
Removed deprecated ACL plugin
Refactored custom module class hanlder
Code cleaning up
Added remote service as a temporary alternative for Oauth
Added test cases for remote service
Added support for relative directory in paths
Merge branch 'remote' into user
Added support for HTTP auth and cache to remote service
Updated activity API
Fix activity and maintance