resolve . and .. in relative paths to canonical form to generate comparable module ids.
Merge pull request #77 from t-beckmann/generate-module-id

resolve . and .. in relative paths to canonical form to generate comparable module ids.