Improve binding a String to a persistent instance reference

Fixes a failing hibernate-plugin test
improve how the binder identifies if a property is a domain class reference

A test from the hibernate plugin was failing because a belongsTo back
reference appears to be of type Object when inspecting
metaClass.getMetaProperty('propertyName').type.