Actually add tests to the previous commit and fix it.
Move date validation into a URI template processor object, and fix parsing sources with spaces in them. Fixes #185.