Catch exception

command.getElement() may return null. Appium must catch exception or it'll crash with a NullPointerException.

Fix #1140
Merge pull request #1145 from bootstraponline/catch_exception

Catch exception
Fix screenshotStatus
Merge pull request #1152 from jlipps/master

fix android swipe duration
Android support for meta state on key codes (i.e. long press the back key)
Merge pull request #1155 from mutualmobile/master

Android support for meta state on key codes (i.e. long press the back ke...
Merge pull request #1144 from bootstraponline/fix_screenshot

Fix screenshotStatus
Make sure to pass the variables correctly for 'keyevent'.
Merge pull request #1158 from paymand/fix_for_keyevent

Make sure to pass the variables correctly for 'keyevent'.
Android packages may have underscores

var str = "mFocusedApp=AppWindowToken{41ac2030 token=Token{41797308
ActivityRecord{419b9290 u0 com.example.webviewapp_18_api/.MainActivity}}}";

// undefined
/mFocusedApp.+ ([a-zA-Z0-9\.]+)\/(\.?[^\}]+)\}/.exec(str)
Merge pull request #1160 from bootstraponline/fix_activity_regex

Android packages may have underscores
add another yiewd example
update yiewd example with new yiewd syntax
update yiewd example again