#63 lastInsertId fix for postgres

Still works with mysql
Merge pull request #64 from eddiejaoude/postgres-lastInsertId

#63 lastInsertId fix for postgres
update example to represent comment
Merge pull request #65 from jeremyquinton/doc-fix

update example to represent comment
Status docbloc stated `string` but is `int`
Merge pull request #66 from eddiejaoude/patch-1

Status docbloc stated `string` but is `int`