Fix #148 Escaped table and field names.

Applied escaping to table (SiteTree_versions) and field
(ID, WasPublished) identifiers to support PostgreSQL
conventions.