Moved role constraints into model

The same as https://github.com/crowbar/barclamp-git/pull/40