query() now returns [] when no rows found and on error. queryOne now returns null on now rows found or error. Added dependency on dateformat and simplified dateHelper a bit. Wrote a simple test for dateHelper. Bumped version.