Added begening test for api
Added instance root api checks
Zetta now has _run function to start the runtime but not listen on http socket.
Tests for /devices and / updated
Added api test for /<peer id>
Cleaned up formating for sorting device code
Added api resoures dir, passing in zetta server to http server
Merge branch 'master' of github.com:zettajs/zetta-runtime into api-test

Conflicts:
	lib/device_resource.js
Added a module that defines zetta custom http rels. /devices is returning proper local devices.
Added root resource
Added servers resource, added full representation of device in servers resource
Merge branch 'master' of github.com:zettajs/zetta-runtime into api-test

Conflicts:
	lib/machine_config.js
Stream links fixed on device
Added actions to api. Added i heard that sample app.
Removed perm id on sample apps
Removed old device resource
Merge pull request #8 from zettajs/api-test

Api test