Fixes failing unittests for hourly report and templatetags

The hourly report failures stemmed from a change in expected date format.

The templatetag was returning a correct urlencoded string in a different order than the test.