dynamic base,no ngroute,

add dynamic inclusion of base tag, so angular rewrites based on the
base,
removed ng-route module - not necessary
add inventory index version, to handle the other main.html
read always the path condition on lowercase,
reduce the getURI response to basic pathPairs