make webappdir configurable

a "url template" is introduced so one can use webapp dir other than the default '/solr'