fix replace lowercasing
refactor requested_path vars
Merge pull request #60 from francescolaffi/fix-lowercase-replace

Don't lowercase matched parts