libdeng2: Added Path slash normalization methods

Added methods for replacing slashes with a specific separator character.

This is now used by NativePath instead of QDir's equivalent.