fixed pretty printing

Pretty printed timestamps now correctly display depending on the time_precision set in the `@@db` object.
Additionally I removed some rspec deprecation warnings and replaced usage of old hash syntax.

This fixes issue #8