Enable persistence of current project over page reloads using cookies.

use $cookies, and restructure CurrentUser and CurrentProject as well as
relevant controllers.