Fix incorrect DST offset calculation

Today, we stumbled upon a DST bug in our application that could be traced back to a bug in Jadira's usertypes. TimeZone.getOffset takes the number of milliseconds as parameter, but in some cases, seconds were passed instead, resulting in incorrect DST offsets.

This commit fixes the bug.