Normalize history paths

Windows: normalizes history paths so uniqueness checks work. The following paths all get normalized when being entered into history:

    C:\some/path
    c:\some\path => c:/some/path

Backslashey and uppercase drive paths continue to work, just aren't entered into the history array as such.