search widget added (maybe more work todo), api context path fixed app.js - this means the root url loaded is #{contextpath}/app/, some cleanup and logging