Handle cases when getCurrentActivity() returns null
Use the existing activity
More Activity null checks
Minor formatting
Added support for getView and waitForView using tag
Merge pull request #71 from gvaish/master

Added support for getView and waitForView using tag