Use expand_path to normalize paths in autoloader
Just using Pathname#cleanpath didn't properly convert \ to / on windows. Using
both should give correct normalized paths. This also cleans up the specs to
work better with Windows paths, as problems there were revealed by this
change.