simplified palette input handlers
Merge branch 'master' into event-listener

Conflicts:
	editor/static/editor/js/unit_selection_palette.js
simplify mouse drag
use jsdoc formatting
Merge pull request #61 from hellochar/event-listener

Event listener