Add dedicated Selection class; make view track active selection.
Correct declaration of SelectionTypes; fix typo in EffectiveRange().
Merge pull request #31 from dtcaciuc/master

Add dedicated Selection class; make view track active selection.