Keep milliseconds in timestamps for postgres

Postgres timestamps have millisecond precision. This patch preserves the millisecond part of Utils.now when dialect is set to postgres.