added project controller spec and code
added validation for name and spec and code for controller when name is empty
added index method and view
changed rspec and view to check for specific dom elements