User should be logged in before creating repo

- We need current user's id while creating a repo.
- Added before_filter authenticate_user! constraint for "new, create,
  edit and update" actions.
- Added test cases for verifying that non-logged in user can't create
  the repo and logged in user can create the repo.
- Closes #273