Fix compile error using Qt 4.8.5 on Windows
Merge pull request #438 from peitschie/more-win-fixes

Fix compile error using Qt 4.8.5 on Windows
Fast Pinch-Zoom support on the sizer.

This patch adds a new class ZoomHelper that
is used to control the zooming of the document
by API and/or touch gestures. CSS3D transforms
are used to do extremely fast bitmap scaling
of the sizer.
Show custom scrollbars in touch mode.

This is required because webkit on mobile
does not seem to show any scrollbars if
`-webkit-overflow-scrolling: touch` is not
enabled -- and we cannot enable that because
it's kinetic scrolling is not controllable
or trackable.

Enable virtual scrollbars when in scroll mode,
othwerwise disable them. This is done because
the scrollbar size/position makes no sense
immediately after a removeScroll() call, because
the perceived panning is done through CSS.
Implement runtime.requestAnimationFrame()
which abstracts away browser prefixes
and simply executes the callback if it is
not supported by the browser.

Also adds cancelAnimationFrame() similarly.
Link the zoom slider to the current zoom level
of the ZoomHelper.
Make ZoomHelper be able to switch the element
at runtime. Useful for undo support.
Merge pull request #433 from adityab/enable-pinchzoom

Fast Pinch-Zoom-Pan support on the canvas sizer
Refactored creation of style tree

Moved the creation of the style tree out of Styles2CSS. This is the first
step in refactoring out and fixing some duplicate list handling code in
OdfCanvas.js.
Refactored application of list styles

Moved the code that parses ODF lists styles and creates rules for them
into a separate object. This is done as the second step in removing
duplicate/redundant code from OdfCanvas.js around some list style
handling.
Fix multi level list numbering

Changed the CSS counter used to the nested counter to give us the correct
numbering behaviour in multi level lists.
Removed fixed width sizing of list labels

Replaced the fixed width sizing which was used to provide spacing after
the list label with a constant padding value instead. The fixed width
sizing caused large list labels to wrap to the next line which was undesireable.

The padding value has been chosen so that lists render ok until the list
label size functionality is implemented as per the ODF spec.

The behaviour we should be following is detailed here:
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-text_label-followed-by

http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#element-style_list-level-label-alignment