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.
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
Consult configuration, skip table config if asked to.
Disable table editor in title editor
Make an attempt to find the correct selector

Ensure the selector is a proper string, and append a '.' to a selector only if that selector is missing a '.' and a '#' as its first character.
Compile semantic-block javascript
Remove superfluous '.' being appended to selector

Also remove logic allowing a '.' to be passed or not.
Compile javascript
update type switcher for notes
Merge branch 'master' into oerpub-ticket189-refix

Conflicts:
	src/plugins/oer/popover/lib/popover-plugin.js
If table config exist, still default enabled to True.
Merge branch 'master' into oerpub-ticket432-pull
Merge pull request #17 from oerpub/oerpub-ticket432-pull

Provide a way to skip table-init in some editables
Merge pull request #9 from oerpub/oerpub-ticket189-refix

Refix issue #189 and #172.
Merge pull request #11 from oerpub/oerpub-ticket415-pull

Place cursor after math when closing popover
Merge pull request #20 from dak1/master

Give semanticblock-plugin more intelligent selector detection