Fix date calculation

Git times are UNIX timestamps (seconds since 1970), while Java expects
milliseconds
Improve sort order
Also print out commits per hour
Silence the SQL statements