Add an APP_URL environment variable for setting a full app URL such as http://my.site or http://my.site:8978/data;

 Change resource HREF construction from getting the uri as (:uri request) to a combination of the new APP_URL if it exists, then using either (:path-info request) or (:uri request). The difference is that path-info will exist in servlet environments such as tomcat and will not include the context path
Add section in README on APP_URL variable
Merge pull request #52 from marcesher/master

Correct link construction for production hosting