Integrate first version of wysiwyg editing

Import js, css, image files for jquery.wysiwyg.
Create wysiwyg-editor page and buttons to switch between the two modes.
The editor creates HTML which is then converted to kramdown before save.

Show the frame form side-by-side to save space.
Update jquery.wysiwyg from 0.6 -> 0.97
Improve wysiwyg-editor

Make the wysiwyg-editor functionally equal to the markup-editor. That includes drag&drop of assets from the tray, dropping them and rearranging slots after a template change.
Style the editor content the same way its displayed in the presentation mode.
Add kramdown parsers/converters for the new markup commands

fp_html is standard html with some divs for the display of new markup
fp_markdown is kramdown with new markdown commands added. So far these are \definition,\example,\box and \foreign
The parsers/converters manage the conversion between the two extended languages.
Add the wysiwyg-editor part for the new markup commands.

Add some new buttons to the editor to insert definitions, examples, box and foreign.
Style the new commands through css. For now this is only done for the default template.
Add an extension to allow the insertion and editing of tables.
Add a frames_helper to easily convert between the new formats.

Fix:
Stay in the wysiwyg editor when a new frame is selected from the sidebar.
Add spaces to the added html. Otherwise the divs dont get inserted.
Add a newline after the \definition, ... commands. Otherwise the following command is ignored.
Add button to presentation actions to go directly to the wysiwyg editor.
Redirect to the editing window of the first frame if it exists.
Fix the display of the collapsible panel for frame creation.
Fix the e -> edit frame keyboard shortcut. This was broken by the navigation menu.
Switch to markup preview to the helper method to convert the markdown.
Include the template-specific editor.css to style the markup preview.
Add exception handling to update, update_wysiwyg and preview methods to make sure we only save valid markup and give the user some feedback if there are problems.
Fix: Before the slot_name variable is used it should be defined.
Add markup-style to xmendel and uzl_corporate templates.
Point the presentation icon to the presentation to begin it on click.
Add the \cite command and allow formating inside the boxes.

Add the new \cite["bibKey"]{"quote"} command. This resolves the citation information from
bibtex files. For this a new directory app/bibtex/ is used. The converter searches in all
the files in that directory for the specified key. At the moment the formating is:
authors (year)

Allow the use of ordered/unordered lists, blank lines and other formating inside the content
of definitions, examples, boxes and citations.
Handle the exceptions generated if app/bibtex/ directory doesn't exist.
Add new kind of wysiwyg-editor based on in-place editing

To circumvent all the restrictions of normal iframe based editors. Replace it with an in-place editing version.
It is based on the jquery-plugin jeditable. Now every text element is editable only in predefined places.
For example the definition title and content. This ensures the resulting html is correct and can be convert to
markdown. Paragraphs can be inserted before or after every element by clicking at that area.

A nice bonus is that all elements can now be sorted inside of a slot through the use of .sortable().
That is important because there is no way to mark a position in a slot for the insertion of elements, ie examples.
One problem is that, for now, the editing is done in markdown, which is then converted to html. This might
be fixable through the use of a lightweight wysiwyg-editor for the textareas.

In this commit the \cite commands is not yet integrated into the wysiwyg editor. This will be done later.