Remove leading forward slash from path if present

From certain contexts the variables path property contains a
leading slash which the parse_url function does not like. Removing
it allows the preprocess function to work (more) consistently.
Merge pull request #3 from lyrasis/trim_leading_slash

Remove leading forward slash from path if present