Give explicit return type to DbHelper.getExtendsForeignKeyName() so it is overrideable, and add log stmt to DomainObject tmpl to make it easier to trace generation
make BuilderProperties and BuilderTmpl overrideable