iOS Safari: Move/Open virtual keyboard by tap.

Do not set focus in a timeout on iOS.

When attempting click-to-move, in most desktop
browsers we need to get the new selection in a
simple 0-timeout, because the window selection
is not immediately updated when handling the
mouseup event. The focus to the event trap is
set after this is ready. Otherwise, clicking
within a selection will not do anything.

Unfortunately, in iOS Safari, it is impossible
to set focus within a timeout. Therefore, this
commit takes the least painful and simplest
thing route: check navigator.platform for
iPad, iPod, and iPhone (the hope is that this
will be reliable because of Apple's consistency),
and in that case avoid computing the selection
and focus assignment within a timeout.
Switch eventTrap from a <div> to an <input>

This prevents the appearance of various
'contextual' entries in a tooltip over
the caret in iOS.
Introduce IOSSafariSupport: Suppress auto-scrolling
on click-to-move when keyboard is open.

This is done by momentarily hiding and displaying
the eventTrap when the keyboard is opening.

IOSSafariSupport is a drop-in class that should
make webodf function well in iOS Safari without
having to do any special platform handling anywhere
else in the code.
Only set text eol=lf for certain files, not all (and do in /, not webodf/)

Fixup for a7edf7baad09d98d22eb9a80f94da82bf066ccef
Switch autocapitalize=off on iOS because
with the IME not working on that platform,
the keyboard always assumes that we are
starting a new sentence.
Merge pull request #419 from kossebau/fixGitAttributes

Only set text eol=lf for certain files, not all (and do in /, not webodf/)
Merge pull request #410 from adityab/apple-keyboard

iOS keyboard support
Make sure newly created ODT documents have valid manifest.xml and settings.xml files.
Add new layout tests.
Layout tests can be added in layouttests.xml. A file is constructed from
ODF fragments and the loaded and layed out document is checked.
Only a few simple dimensions for are currently checked, more tests will follow.
Use more commen xml prefixes and add typing information to the js.
Use odf.OdfUtils.parseLength and odf.Namespaces.lookupNamespaceURI instead of duplicated code.
Add some clarifying comments.
Simply set the odfcontainer instead of loading it from disk.
Merge pull request #416 from vandenoever/layouttests2

Add tests for layout
Adapt layout tests to Firefox (wants only camelCase for style attribute names with non-html elements)
Merge pull request #422 from kossebau/adaptLayoutTestToFirefox

Adapt layout tests to Firefox (wants only camelCase for style attribute names with non-html elements)
Use compiled webodf.js in nativeQtClient
Fix outdated use of xmldom.XPath, now a namespace, no longer class
data is now a Uint8Array, so use subarray(), not slice(), on it
Exclude nativeQtClient from default target