Actually truncate tables when force_truncate: true and writing to database

This adds a `#truncate` method in the `PostgresDbWriter` class, which previously had only inherited a no-op method from `PostgresWriter`

Also removes a commented-out line, cleans up trailing whitespace and properly indents the file (sorry for the messy diff)