Moves permissions from the Project class to the ProjectManager. Fixes some errors in the tests to account for the ProjectManager changes.

bgaffey, twack