Respect the "test" parameter in the web based testing also for asynchronous tests.
Merge pull request #425 from vandenoever/async

Respect the "test" parameter in the web based testing also for asynchron...
Add benchmark hooks for calculating document distance travelled
Add pages per hour and kilometres per hour as benchmark units
Output the webodf version the benchmark is running against
Make benchmark UI slightly more colourful
Make element variable names more consistent
Merge pull request #418 from peitschie/benchmark-units

Improve benchmark appearance slightly and add km/h & pages/h units
Split StepsCache out of StepsTranslator into it's own file
Improve navigation speed across StepCache items

The StepsCache is built on the concept that nodes are not re-ordered in
the document during updates. This means the only operations that need to
be supported is adding or removing a node. By maintaining a double
linked list, nearby bookmarks can be very quickly found for any step.
Fix cache-update issue that was causing watchdog overflow errors
Rework how StepsCache responds to step updates to improve robustness

Calculating exact changes in a document can be extremely difficult to
do properly, as such, StepsCache ideally will not rely on them.

In this new approach, modifications to the step cache only require the
last known unmodified step. As iteration across the document occurs,
damaged regions of the cache are repaired and updated, and dead nodes
are removed from the system.

This improves the performance of local edits immensely, at the expense
of "long jump" type operations (e.g., add text then move immediately
to the document end).

Fixes issue #417
Add a cache verification function to ensure cache integrity

Cache integrity checks are very slow, so this should only be enabled
when troubleshooting cache problems.