fixed getPermissions() call in coreObj
added a check to the getPermissions(), if no user id is passed, then use current user
added some utility functions to the permissions class, will add perms panel when finished
Merge branch 'master' of github.com:cybershade/CSCMS