Allow trailing slashes on map urls

Fixes mapstory #526