Added public/private feature to projects.
Added can-can based access control to controllers and documents.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>
Merging code.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>