Normalised paths

This removes redundant path segments and redundant '/' characters from paths and reverts the expected path changes to test-stefon-files from 512c7f7

This isn't at all compatible with non Unix-like paths, since Stefon is working with paths for the web this shouldn't be a problem (and many parts of the code already assume Unix-like paths).