Minor fixes related to line tool
Dispatch appropriate events during select tool deactivation

[#74610938]

It's necessary for line tool to work correctly.
Merge remote-tracking branch 'origin/master'

Conflicts:
	bower.json
	dist/drawing-tool.js
	package.json