Merge pull request #22 from xue0chao/master

Add bower.json and changed the path references
Added error handling functions on the server
Merge branch 'master' of https://github.com/EKGAPI/webAppEKGAPI