Quote reserved keywords

This fixes #936, with support for Postgres and MySQL

@timowest you can consider including this in the upcoming release, bear in mind to keep the source branch, since adjustments can still be made.