Merge pull request #60 from arildm/1.0

Updated roleCreate() and checkPermissions()

Signed-off-by: Jonathan Hedstrom <jhedstrom@gmail.com>