Fix bug only primary key id.
Merge branch 'master' of https://github.com/rafaeldl/rolify
added specs for #128
resource model can now have a primary key different than 'id'