added Average-method to scanner
made ColorTolerance and Pixel serializable