Fix confusion between ObjectType and ObjectClass

Per report by Will Leinweber and Peter Eisentraut
Remove quotes around SQL statement in error message
Document that git_changelog needs updating for major version stamping.