Save current tab/part/variable in history.state

The question and exam edit views save the current tab and selected variable/part in history.state (when available, i.e. not on IE<10) so it's restored when you reload the page or navigate back.
Merge branch 'master' into knockout-3.2

Conflicts:
	editor/static/js/question/edit.js