fixes grails-7729
Foreign Key constraints should be created when tablePerHierarchy=false
http://jira.grails.org/browse/GRAILS-7729
Merge pull request #10 from domurtag/master

fixes grails-7729