Modifications to blackberryndk.py
Changelog:
- Changes to sourceEnvironment function. Previous changes didn't work for
  me. Changes the command from list to string.
- Changes to findQde function. Finding the qde based on QNX_HOST
  environment variable, which has to be set before.

Tests:
    All BlackberryNDK unit tests are successful

    Built and installed mobilesdk and successfully created a new project
    with the name HelloWorldDisplay and then successfully build and run it
    on the simulator using the project and builder scripts from command
    line
bar-descriptor.xml .project templates creation

Changelog:
 - Delete the bar-descriptor.xml and .project files from HelloDisplayWorld
   temporariry folder.
 - Added functionality to copy the mentioned files during project creation
 - Added functionality to replace template fields after copy
 - Added unit test for testing templating on both files with -t option

TESTS:
 - Run the command "blackberry.py HelloWorldDisplay com.macadamian.helloworlddis   play "c:\Users\alexg\Documents\Titanium Studio Workspace" C:\bbndk-2.0.0
 - Make sure it added the bar-descriptor.xml and .project files in project
   with appropriate replacements
 - Make sure it successfully builds after project creation.
 - Run the command "blackberry.py -t"
 - Make sure tests passed for both files
Modifications to blackberryndk.py ver.2

Changelog:
- Changes to sourceEnvironment function. Previous changes didn't work for
  me. Changes the command from list to string.
- Changes to findQde function. Finding the qde based on QNX_HOST
  environment variable, which has to be set before. In case QNX_HOST not
  set find the qde based on NDK path

Tests:
- All BlackberryNDK unit tests are successful
- Make sure findQde test passes with as set QNX_HOST env as with not set
  QNX_HOST env
Modifications to blackberryndk.py ver.3

Changelog:
- Remove debug print
- Remove unneeded code

Tests:
- All BlackberryNDK unit tests are successful
- Make sure findQde test passes with as set QNX_HOST env as with not set 	  QNX_HOST env
bar-descriptor.xml .project templates creation ver2

Changelog:
- Replace the positional arguments with named ones.
- Remove testing code from main to other function.
- Remove the duplicate code
- Minor changes

TESTS:
- Run the command "blackberry.py HelloWorldDisplay com.macadamian.helloworlddis   play "c:\Users\alexg\Documents\Titanium Studio Workspace" C:\bbndk-2.0.0
- Make sure it added the bar-descriptor.xml and .project files in project
  with appropriate replacements
- Make sure it successfully builds after project creation.
- Run the command "blackberry.py -t"
- Make sure tests passed for both files
- Make sure it successfully creates project using project.py script
Merge pull request #24 from alexandergalstyan/cleanBranch

Modifications to blackberryndk.py
bar-descriptor.xml .project templates creation ver3

Changelog:
- Add optional ndk_location to unit tests
- Rename functions to be used inside
- Update tests to more descriptive in case of errors
- Fixing issue when running script with no arguments

TESTS:
- Run the command "blackberry.py HelloWorldDisplay
  com.macadamian.helloworlddis   play "c:\Users\alexg\Documents\Titanium
  Studio Workspace" C:\bbndk-2.0.0
- Make sure it added the bar-descriptor.xml and .project files in
  project with appropriate replacements
- Make sure it successfully builds after project creation.
- Run the command "blackberry.py -t"
- Make sure tests passed for both files
- Make sure it successfully creates project using project.py script
- Run the commant "blackberry.py -t <ndk_path>"
- Make sure tests passed successfully
- Run the command "blackberry.py"
- Make sure usage message displayed
Updated formatter

Always split enum declarations on multiple lines
Also removed agressive unwrapping
Fix formatting for initializer lists
Merge pull request #32 from jpl-mac/formatter3

Updated formatter
bar-descriptor.xml .project templates creation ver4

Changelog:
- Move debugging code in a separate function
- Other minor issues

TESTS:
- Run the command "blackberry.py HelloWorldDisplay
  com.macadamian.helloworlddis   play "c:\Users\alexg\Documents\Titanium
  Studio Workspace" C:\bbndk-2.0.0
- Make sure it added the bar-descriptor.xml and .project files in
  project with appropriate replacements
- Make sure it successfully builds after project creation.
- Run the command "blackberry.py -t"
- Make sure tests passed for both files
- Make sure it successfully creates project using project.py script
- Run the commant "blackberry.py -t <ndk_path>"
- Make sure tests passed successfully
- Run the command "blackberry.py"
- Make sure usage message displayed
Merge pull request #26 from alexandergalstyan/bardescBranch

bar-descriptor.xml .project templates creation