Issue35 fix

- added check for empty source returned from appium when constructing the
  hierarchy tree
- since appium 0.14.2 we need device to be passed in the capability
- added inspector device capability to Preferences form
Merge pull request #36 from peepa/issue35_fix

Issue#35 fix