Remove test files from built gem.
Extract PointSize and CapInsetDetector from ImageOptimizer.