WIP: Code Climate UI integration.
Fix duration being incremented after a build/job is finished
Pull job/repository actions out of cog menu.

It's very hard to notice where something is, when it's hidden in
that menu.
Pull some bindings into build and job controllers.
Disable links when permissions isn't granted.
Make action links actual icons.

This change pushes the cog menu to the top, where it belongs, as it
now only includes repository-relevant actions. The icons now reflect
things relating to the build/job itself, and have replace the cog
meny.
Merge branch 'mm-extract-actions-from-menu'
Add images.
Fix sidebar not fully collapsing.
Use status image helper to determine the URL.
Merge branch 'master' into mm-code-climate-window

Conflicts:
	assets/scripts/app/templates/repos/show/tools.hbs
	assets/scripts/app/views/repo/show.coffee
Rework Code Climate integration for action icon bar.
Update instructions for Code Climate token.
Include proper link.
Fix typo in cancellation flash message
Move observing last build to controller

We observe last build on the repo in order to show the freshest build on
repo page. I moved it to router in order to keep such observers in the
same place, but this was not a wise move. To make it work properly
observer needs to be removed when moving to some other part (like
build's page). The problem is that deactivate function is not called
when we move to the other route in the same nesting. We have our own
'activate' function on repoController, which is better suited for
handling this task.
Merge pull request #205 from Aaron1011/fix_duration

Fix duration being incremented after a build/job is finished
Drop redirect logic for API other than images and/or cc.xml
Update ember-model with a reloading fix
Add new assets for build email.