implement create method and refactor grant method
add unit test for create
Merge branch 'AEROGEAR-782'
Merge branch 'master' of https://github.com/aerogear/aerogear-security-picketbox