Add the constrain processor

Added the constrain processor, based off the Resize processor, extracting the image manipulation to separate class.