REpostiry, Team models
Continue refactoring. Use repostory and team
Rspec fixes
Fixed protected branches and file edit
Show images preview in notes. Show line additions/deletions for commit
use ui-box as for all
Fixed styles, ProjectHook specs etc
Fix some tests. Use travis-ci 1.9.2
Fix security spec
Merge branch 'refactoring/backend'