[TASK] Migrate opendocs JS to jQuery

This patch refactors the Opendocs JavaScript
code to use RequireJS and jQuery
over Prototype.js.

Additionally, some first cleanups are done to
the extension (PHP side, HTML output).

Resolves: #62801
Releases: master
Change-Id: I3e596ba657ff8812afafe1746d8b4bb4632aca99
Reviewed-on: http://review.typo3.org/33932
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>