TIMOB-8920: Blackberry: Add support for building/running on device

[Issues Fixed]
TIMOB-8920: Blackberry: Add support for building/running on device

[Changes]
blackberryndk.py
- function package
  - add debugToken and use it
- function __runUnitTests
  - fix parameter

builder.py
- function run
  - add debugToken and use it
- function __main__
  - add --debug_token argument and output the usage if not there for --type device
  - centralize arg decoding

[Tests]
Test 1: Build and deploy to device
1) Deploy debug token on device
2) Create a project using project.py
3) Run the following command:
builder.py run -t device --ip_address=<ip address> -p <password> -d <project path> -n <ndk path> --debug_token <path to debug token>
4) Verify the app gets built and deployed on the device
Merge branch 'master' into TIMOB-8920_01

Conflicts:
	support/blackberry/builder.py
TIMOB-9309: BlackBerry: Convert argparse to optparse part2

Reviewers: DavidL, JP

ChangeLog:
- Convert to optparse for blackberry.py blackberryndk.py scripts

Test Cases:
- Create sample project using project.py.
- Make sure project successfully created.
- Make sure blackberry and blackberryndk scripts correctly run the unit testa with -t option.
- Make sure created project can be successfully built and run.
TIMOB-8920: Blackberry: Add support for building/running on device

Moved param checking to a central location and added --debug_token to usage
TIMOB-9309: BlackBerry: Convert argparse to optparse part2 ver2

Reviewers: DavidL, JP

ChangeLog:
- Convert to optparse for blackberry.py blackberryndk.py scripts

Test Cases:
- Create sample project using project.py.
- Make sure project successfully created.
- Make sure blackberry and blackberryndk scripts correctly run the unit testa with -t option.
- Make sure created project can be successfully built and run.
TIMOB-9309: BlackBerry: Convert argparse to optparse part2 ver3

Reviewers: DavidL, JP

ChangeLog:
- Convert to optparse for blackberry.py blackberryndk.py scripts

Test Cases:
- Create sample project using project.py.
- Make sure project successfully created.
- Make sure blackberry and blackberryndk scripts correctly run the unit testa with -t option.
- Make sure created project can be successfully built and run.
Merge pull request #74 from alexandergalstyan/optparseBranch

TIMOB-9309: BlackBerry: Convert argparse to optparse part2
Merge pull request #70 from dlifshitz-maca/TIMOB-8920_01

TIMOB-8920: Blackberry: Add support for building/running on device

[Issues Fixed]
TIMOB-8920: Blackberry: Add support for building/running on device

[Changes]
blackberryndk.py
- function package
  - add debugToken and use it
- function __runUnitTests
  - fix parameter

builder.py
- function run
  - add debugToken and use it
- function __main__
  - add --debug_token argument and output the usage if not there for --type device
  - centralize arg decoding

[Tests]
Test 1: Build and deploy to device
1) Deploy debug token on device
2) Create a project using project.py
3) Run the following command:
builder.py run -t device --ip_address=<ip address> -p <password> -d <project path> -n <ndk path> --debug_token <path to debug token>
4) Verify the app gets built and deployed on the device
Merge pull request #72 from jpl-mac/timob-9388

TIMOB-9388 Blackberry: implement String.format
Merge branch 'formatReview', remote-tracking branch 'upstream/blackberry' into formatReview

#Some more info....