Remove blur event from the main window on job submit page.

It is redundant now with the 'Validate' button in place.

Change-Id: I3c6c405f20a780c63d978f3fb91d2c67be9291d5
dashboard: fix crash if test_params is not a dict

Change-Id: Ibfe4b9dd5c193caa3827db88ee9bea8c56cdf760
Add keypress event to the submit job container.

When the content in the json has changed, remove the status box and disable the submit button.

Change-Id: Ie4cfec4bd92c4649b72006e13d0cb44a5405f1ea
Increase the widht of the zoom out container.

Text in the zoom out container got truncated in Chrome because it didn't fit.

Change-Id: I5229b6acccac7b64d1456557ba5d312137087966
dashboard: fix typo in last commit (3248027)

Change-Id: Iac2dced4aae57a6693fa28b89dff11c1887ef87c
Specify string format arguments as logging function parameters

This allows logging to be lazzy when possible. This error can be found easily
with pylint.

Change-Id: Id6b67945546b33d2c5659694a76bf4f8e7c4c72b
dashboard: remove uneeded monkey patching

This patch was only applied for django version prior to 1.2.4. Django 1.6 is
now required.

Change-Id: I2948ad4e579f2fbb69b51f316e6e7534ba30e3b4
Fix invalid open flags

By default python open the files in 'text' mode.

Change-Id: I8c97c390e61aeb3140a9557706ff444764b2c91a
Fix PEP8.

Change-Id: If4f0444c4aba7b2bc0d3ef553f956e03563e537e
Remove deprecated warning for 'with' statement in dashboard_app tests.

Change-Id: I2dafa94577b7e5a62250acbc80cb8a596bbc4a09
Cleanup hostname status images both for workers and devices.

Slight performance improvements observed with page load.

See:
  - http://goo.gl/XAzAbL
  - http://goo.gl/sOSf2s

Change-Id: Ia64d92cf22a74e53e1533488a59a1e0893e51489