Added a pending check to most things, updated the views
Last batch of changes to the invite, should be able to accept, reject and withdraw invites
Deleted bad tests and fixed tests to work with initial data as test data
Fixed checkstyle errors and warnings. Also fixed the rejectInvite method