Provide access to device properties

Provides a global object `device` with the properties:

* model
* platform
* version

The "deviceready" event is not yet supported.

Fix #19

Change-Id: Ia6c140c1c5e73bdc512f9cbd8ee66aae827748b2