updating default license header file to year 2014
(also removes the HTML exception which we will keep in releases)
Let the canvas's container have bouncy webkit scroll,
disable pinch-to-zoom on the editor and viewer.
Fix toolbar positioning on body scroll.

When, after clicking in the text, the iOS keyboard
pops up, the entire editor body is scrolled upwards
because the window is shrunk, even if there was
no way to scroll it before.
This means that the toolbar slides upwards and out
of the visible part of the viewport.

This is unacceptable, therefore this commit introduces
a fix:
CSS-translate the toolbar when detecting a scroll. focusout,
or touchmove event.
Toolbar polish:

* Make the toolbar absolutely positioned and full-width.
This should let it's contents properly reflow when the
screen is not wide enough.
* Add a little shadow.
Make canvasContainer dodge the overlapping toolbar.
Editor: Remove window event listeners on destroy().
Merge pull request #356 from adityab/ui-nozoom

Some polish with iOS zoom and pan
Restore focus after an undo or redo operation

Recent changes introduced in 26a9252 caused the focus to no longer be
correctly restored after replacing the document root. Prior to the
broken commit, the focus was saved & restored after every operation.
When the cursor was re-added to the document after an undo, the focus
would be reset to the event trap and would be kept in sync after each
operation following.

26a9252 introduced measures to minimise when the focus was restored,
and would only try and save the focus once before a group of ops,
and restore once after the group was complete. As the group of ops
was executed *after* the ODF container had been replaced, the focus
was already lost by the time the group started. Subsequently, the
focus was never restored after the batch was complete.

Fixes issue #397
Don't re-capture focus when the cursor is re-added to the document

Performing the focus capture when a cursor is registered to the document
causes undo/redo to slow down, as the focus gets pulled into the cursor
as soon as the AddCursor op is executed. The focus should not be changed
while executing operations.
Merge pull request #398 from peitschie/undo-focus-restore

Restore focus after an undo or redo operation
Set runtime.currentDirectory/libraryPaths in faked webodf.js for out-of-source runs

Frees "production" code from adjustments for out-of-source developer code
Fix broken automatic loading of manifest.json at script location when executing runtime

* Fix extracting the path from a script passed as arg to runtime
* Allow failing on trying to load a manifest file from the current directory
Remove duplicated runtime.libraryPaths setting in docnosis/index.html