added checkPermissionByName function to permission engine
Merge remote-tracking branch 'origin/master'