Changes the project layout to comply with the Java web application
conventions (referred to
https://weblogs.java.net/blog/manningpubs/archive/2013/03/18/building-java-web-application-gradle).

Change-Id: Ic078da7c6e75c4041c769135ec0e07a9ce8270a8