Moved placeholder logic out of Javascript and the DOM

and into CSS
Removed cnxmlplus handler
Moved title out of the type-container element
type-container is removed from the serialized DOM
Refix issue #189 and #172.

Popover is only repositioned on a context change event, not by some
a frequently firing timer event.

Conflicts:

	src/plugins/oer/popover/lib/popover-plugin.coffee
Improve placement logic

Previous logic would drop the popover to the bottom if it fell off the top
or the left. The new code only moves it to the right if it drops off the left,
leaving it at the top. In addition, it drops it to the bottom if it will drop
off the top of the editor, thereby not placing it over the toolbar, at least
initially.
Merge branch 'master' into oerpub-ticket189-refix

Conflicts:
	src/plugins/oer/popover/lib/popover-plugin.coffee
only consider bottom relocation for top located popovers

Without this check, left and right located popovers that are slightly too
wide are relocated to the bottom. Not what we intended.
For new math, drop the plain text option.

This fixes #420.

Conflicts:

	src/plugins/oer/math/lib/math-plugin.coffee
	src/plugins/oer/math/lib/math-plugin.js
Make logging safer, only log if there is a console.
A better attempt at placing the cursor after math

When math element is closed, place cursor after the element.

When pressing ctrl+M, mathify and immediately place cursor
after math.

Conflicts:

	src/plugins/oer/math/lib/math-plugin.js
Merge branch 'master' into placeholder-in-css
Renamed variable
Notes with textnode children will get a para
fix typo in semanticBlock makeClean
fix images and exercises
add note type if it doesn't exist
Move base into ownmacro/slot, make other urls relative

There is now only one absolute url left. Unfortunately base tags
cannot take relative paths. We can hack this using JS.
Make all paths relative, drop base tag

For this demo, it is okay that we operate <base/>less. The slot is still
there and will be filled up remix.
Clean up our settings file a bit.