Region bug fixes and tests

Small bugs in ImageSensor and KNNClassifierRegion
Added some more tests including an end to end integration test.  Cleaned up some old terminology.

Fixes #1377
Meaningless commit to kick tests
Merge pull request #1378 from subutai/region_bugs

Region bug fixes and tests