Don't crash if the requested range is outside the any document root

Fixes a crash when running the benchmark.
Merge pull request #497 from peitschie/benchmark-fix

Don't crash if the requested range is outside the any document root
Use a new ops.Canvas.getSizer instead of peeking
at the ancestry of the document root in SvgSelectionView.
Hide native selections only when virtual
selections are used.
Merge pull request #501 from adityab/native-selection-fallback

Re-enable selections for ODP and ODS documents
Use setStyle whenever selecting a new
style in the dialog.

This requires directly selecting a style
when cloning it, without waiting for onAdd.
Merge pull request #499 from adityab/pdialog

Load current style properties when opening dialog
Fix packextension.js: runtime.readFile no longer returns a buffer for NodejsRuntime
Properly register/unregister components for ODT/ODP/ODS in FF-Add-on
Unbreak "download this document" button in FF extension

getUserData/setUserData was deprecated and is no longer available in latest
Firefox (e.g. 27.0). Using e.g. the dataset property instead did not work
for storing callback methods. As currently only one async requests without
a callback are used, any support for callbacks or sync requests was simply
removed. Proper implementation delayed till callbacks or sync requests are needed.
Rename Firefox add-on to "ODF Viewer"
Use new ids for the components of the FF extension

to avoid conflicts with the ids of the old version
where the components where not properly unregistered