Added and passed tools controller spec
Fixed bug where newtool is accessible without login
Merge pull request #22 from xamroc/tools-func

Passed some of tools model and controller tests