Creating unit test for repositories_controller

Signed-off-by: João M. M Silva <jaodsilv@linux.ime.usp.br>
Failling and commented out tests are now pending
Fixing projects_controller_spec.rb

Signed-off-by: Diego Araújo <diegoamc90@gmail.com>
Adjusted RepositoriesController spec for show and create to the new features

Signed-off by: Fellipe Souto <fllsouto@gmail.com>