simplehandler: fix base url issue

simple handler wasn't properly dealing with directory URLs, like simply
`http://test.com`. Made it not try to create files for those, as there
is no good name to give them anyway.
Merge pull request #80 from iParadigms/fix-simplehandler

simplehandler: fix base url issue
Merge branch 'master' into DanReq1