#148 Escaped table and field names.

Applied escaping to table (SiteTree_versions) and field
(ID, WasPublished) identifiers to support PostgreSQL
conventions.
Merge pull request #150 from courage-web-solutions/fix-148

Fix #148 Escaped table and field names.