Moved Camera to another file as it isn't part of cordova core anymore.
Moved Media to another file as it isn't part of cordova core anymore.
Moved media-capture to another file as it isn't part of cordova core anymore.
Added CaptureError constants.
Changed MediaFile.getFormatData parameters for better typechecking.