Added the hasPermission() function

EV-548
Removed unnecessary import

EV-548
Merge pull request #79 from osu-mist/feature/EV-548-prof-faculty-view-perm

Added the hasPermission() function