Fix bug 118.

https://bugs.linaro.org/show_bug.cgi?id=118

Attaching bugs to image reports (both 1.0 and 2.0) is happening asynchronously now, hence no page reload is needed anymore.

Change-Id: I067db9b10f1b09b4a2402202978b5eaa9a925e33
Escape NL and CR in testcase name before passing to javascript.

Change-Id: I50ec2dc07c8e647c8becaf303e68d2841db7c084
Ensure multinode jobs have all tags assigned

Bug: #359. multinode device_tags selection

For as many jobs as there are in the count of each role,
assign each of those jobs, any and all tags assigned to that role.
The daemon can choose which devices match and the scheduler
has already decided that there are enough matching devices.

Change-Id: Iaadc864dc1127f18a0b0d593de32d9316d8d6db3
Fix Bug #211 - Bundle export needs to handle User.DoesNotExist

Change-Id: Ib786bb58dafdf13a2582d3e5c4a23da4fa79d392
Assign chart_test_case variable to None since it might happen
sometimes that it is not found among the test results returned by
evaluate_filter method.
Same goes for chart_test, even though it didn't present any
problems up until now.

Fixes bug 341. https://bugs.linaro.org/show_bug.cgi?id=341

Change-Id: I769fb3ae77076130a97ee50a6442627ddefaa4f3