Add forIn function. Also use it on rules just for testing
Merge branch 'forin' into update_backends

Conflicts:
	src/mist/io/static/js/app.js
	src/mist/io/static/js/app/controllers/rules.js

Also update backends properties on list_backends
Move socket handlers into app.js so that they exist in a single place
Merge branch 'master' into move_socket_handlers

Conflicts:
	src/mist/io/static/js/app.js
Clean up socket handlers
Merge branch 'master' into update_backends
Merge branch 'move_socket_handlers' into update_backends
Return whatever original socket.on() function return in debugging wrapper
Merge branch 'master' into update_controllers
Update sizes controller
code style fixes
Update locations controller and explicitly use .content in machine add panel
Update images controller
Update machines controller
Explicitly use .content on handlebars template
Update backends controlelr
Update keys controller and fix socket.emit('ready') again
Update metrics controller
Update rules controller
Fix some comments