Add a model interactive mode

Currently the interactive mode of hyperspy is non-modal. These changes
should allow most GUI-based functions to also have a modal mode.
Fix modal interactive + signal range selct

Modal interactive fix, and fix for ValueError when drawing signal range.
Merge branch 'modal-interactive' of https://github.com/vidartf/hyperspy into modal-interactive