Changes based on code reviews
Changes from code review
Merge branch 'blackberry' into TIMOB-8996
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
Merge branch 'blackberry' into TIMOB-8996

Conflicts:
	blackberry/tibb/NativeControlObject.cpp
	blackberry/tibb/TiUIBase.cpp
	blackberry/tibb/TiUIObject.h
Fixed various merge issues and changed static methods to use '_' prefix.
Merge pull request #60 from dcampbell-macadamian/TIMOB-8996

TIMOB-8996: Complete remaining issues from code review
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