Fix tag name selector

 #451
Fix XPath wildcard

 #451
Merge pull request #453 from bootstraponline/xpath_wildcard

Fix XPath wildcard
when searching for @text in ios, fallback to @label and @value
better defaults here
allow @name to refer to @text, @label, @value
alias window to frame in android
make textfield return secure for ios as well
make android not flick so fast
make sure device is done swiping when we return control
add some more android aliases
allow setText on android to press enter when it sees \n
make sure swipe returns error if it doesn't execute
minor fixes
add collection to mechanic (changes submitted upstream as well)
make android swipe wait for swipe to complete as well
Fix source on real device

/cache works on the simulator and fails on device.
/data/local/tmp is used by Android's uiautomatorviewer so appium should use that
as well.

Fix #457
Do not try doing stuff with body if undefined (ex: 500 status code).
Merge pull request #458 from bootstraponline/fix_source

Fix source on real device
Merge pull request #459 from jlipps/master

bunch of fixes to make appium more cross-platformy