Changed to use angularjs view.
Changes server to return JSON and client to request and consume JSON in order to decouple client from server and to provide basis for RESTful API to server.
Fixing problem with ordering of "deploy" (needs Gradle 1.10).