Lots more work on the camera implementation

Nearly ready to be split out. Preview start/stop works as do most of the
camera parameter getters/setters. Implemented configuration of still and
preview resolution - still need to test it and implement still capture
though.