added getCurrentPackage method because getCurrentActivity is deprecated in UiAutomator/UiDevice http://developer.android.com/tools/help/uiautomator/UiDevice.html#getCurrentActivityName()