add getPermissionForProject method. refs client #3335

add tests
Merge pull request #15 from codio/get_permission_for_project

Add getPermissionForProject method.