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