Bug 1048953 - Calendar Day view fails when hour is 00:xx JavaScript error: app://calendar.gaiamobile.org/js/views/current_time.js, line 115: displayHour is null r=gaye

improved the template HTML escape behavior and also added unit tests for day_based template to avoid regressions. this will definitely avoid headaches..