Changes LIKE to >= and <= with 0 and F padding
Adds SqlDatabase#now() method to return the current time according to
the database; Changes MetricDatabase to use it.