Added html to mime types, added local variable for console output on request
Added allowed request types, added exception on script error to print to page
Added new method of finding request path and request type.
general tidyup