Multiple changes:
Added new functions to erode and dilate structuring elements.
Cleaned some code and added comments to the rest of Thomas Walter commit.
Moved code around. Created file that contains sorting functors and moved countNonZero to accumulator.hxx.
Aded and updated tests.
Updated license banners.