Fixed bugs related to timezones of dates and urls with http: somewhere in the path

This fixes https://github.com/docpad/docpad-plugin-sitemap/issues/5 and while I was at it, I added support for `npm test` and fixed a bug where the unit tests fail if the local timezone was too far from UTC.