Modified testapp sensor test to support future hardware

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Update blackberry.invoked unit test to fix race condition

In some cases success was not yet called when invocation handler completed.

Reviewed by Jeffrey Heifetz <jheifetz@blackberry.com>
Optimized blackberry.invoke test-app tests
updated a test case to prevent being skipped

Reviewed by Jeffrey Heifetz <jheifetz@blackberry.com>