Escape literal dots in mod_rewrite regexes

Currently owncloud will serve requests to URLs such as `/Xwell-known/caldav` or `apps/calendar/caldavXphp`.

I've also removed a trailing tab.