Adjusted deployment config and URLs

Adjusted web.xml so that all the jsp pages are served at the root, i.e.
http://localhost/index.jsp and all of the data API is served from
http://localhost/api/...
Adjusted URLs within the jsp pages accordingly.