Moved role constraints into model and fixed typo

https://github.com/crowbar/barclamp-network/pull/274