Also support 4-channel BGRx images and provide better error reporting on bad images passed to PutFrame.
The code now automatically resizes as required. This change also disconnects camera resolution settings from MJPEG stream connections; setting the camera resolution can now only be done via code.
The main thing not yet fully implemented is video mode setting. Also fix a handful of bugs in HTTPSinkImpl.