Created thread repository interface and refactored current code
Merge branch 'master' of github.com:Topycs/Topycs
Refactored thread controller spec to use category object mock