Switched to using regex to determine callback function for page load

a la django et al.
re-added redirect to index.html from /

This fixes an odd windows chrome bug
Fixed regular expression for jpg/js/css files
Made regexs more specific
Added request class
Merge remote-tracking branch 'upstream/master'