Merge pull request #11 from BLesnau/polySelection

Using CSelection and Derived Classes
Explicitly index pixels rather than directly using row-major ordering
You can now select Rectangle or Polygon selection modes. Polygon selection isn't finished