Changed DeviceAPI to Device & added image example

new DeviceAPI should be new Device, changed. Also added parameters to examples so users (like me) know what to expect at a glance. Also added in new Device::image line based on new image function in nbapi.php