Update for webcams

Updated the code to allow webcam images to be retrieved. They are returned as raw data, so they can be base64 encoded directly into an <img> tag or passed off to somewhere else for rotation, watermarking or whatever you wish to do.

Also updated the example app to reflect this, and the readme to fix the example (was new DeviceAPI, should be new Device)