Fixed accidentally broken commit.
Updated build.properties to current version of the Groovy jar contained in Grails 2.2.2
When an object is versioned, copy relations (if the corresponding flags are set in the relation's type).