updated getHostname() to use JSON instead of text
updated getHostname() to use JSON instead of text
updated getHostname() to use JSON instead of text
added getCPU to eapi
Merge branch 'eapi'

* eapi:
  added getCPU to eapi
  updated getHostname() to use JSON instead of text
  updated getHostname() to use JSON instead of text
  updated getHostname() to use JSON instead of text
uncomment onepk import

keep forgetting to uncomment prior to commit.
Prettyfied createDevice printing added getFacts

In case returned value is more complex, added a few simple ifs to allow
printing of such data, like dictionaries (for testing)

also added getFacts to device, to streamline the calling a bit.
Merge pull request #14 from IPyandy/master

updated getHostname, added getCPU