Fix null check

Selenium::WebDriver::Error::JavascriptError: 'null' is not an object (evaluating 'el[key]().indexOf')

This happens when an element exists that doesn't have the proper value.

> execute_script "[$('text')[0].name()]"
=> [nil]
Merge pull request #195 from bootstraponline/fix_null

Fix null check
Fix null value

getElementsByXpath returns value: null when xpObj === false
Merge pull request #196 from bootstraponline/fix_null

Fix null value
Fix undefined issues

TypeError: Cannot read property 'name' of undefined
TypeError: Cannot read property 'code' of undefined
Merge pull request #200 from bootstraponline/fix_undefined

Fix undefined issues
update bundle id for app
more logging about UDID
grunt helper for code signing an app
upgrade to grunt 0.4 and begin migration (starting with lint)
use newer grunt-mocha-test for grunt 0.4 compat
fix to follow grunt 0.4 api
add webview app to reset.sh
Merge pull request #201 from jlipps/master

migrate to grunt 0.4