Canonicalize mapping filters

* Canonicalizes filter input
* Munges strings to "pretend" to be a path if just a substring
* Does not canonicalize new_url filter