TIMOB-8737: Blackberry: Log build commands and output to the build log file

[Issues Fixed]
TIMOB-8737: Blackberry: Log build commands and output to the build log file

[Changed]
blackberryndk.py
- function __init__
  - added parameter stdout
- function _run
  - change check_output to check_call and pass in the stdout parameter
- function __main__
  - add code to debug unit tests

builder.py
- function __main__
  - open a log file and pass it to the logger and BlackberryNDK

[Tests]
Test 1: use scripts
1) Run the following command:
project.py HelloWorldDisplay com.macadamian.helloworlddisplay C:\dev\test blackberry
2) Verify there are no errors and the files were copied/imported
3) Run the following command:
blackberry\builder.py build -t simulator -d C:\dev\test\HelloWorldDisplay -p C:\bbndk-2.0.0
4) Verify there are no errors and the .bar file was created
5) Verify the build.log file contains

Test 2: unit tests
1) Run the following command:
blackberry\blackberryndk.py -t
2) Verify all tests pass and no output was written
3) Uncomment the debug line
4) Verify all tests pass and output was written to stdout
pass the logger to BlackberryNDK and add the command being run and the env vars
change log level of env vars to debug
Merge pull request #33 from dlifshitz-maca/TIMOB-8737_01_rebase

TIMOB-8737: Blackberry: Log build commands and output to the build log file

[Issues Fixed]
TIMOB-8737: Blackberry: Log build commands and output to the build log file

[Changed]
blackberryndk.py

    function init
        added parameter log
    function _sourceEnvironment
        log the env vars
    function _run
        change check_output to check_call and log the output

builder.py

    log the operations
    function main
        change the log filename so other platforms don't overwrite it
        pass the logger to BlackberryNDK

tilogger.py

    added function getLogfile

[Tests]
Test 1: use scripts
1) Run the following command:
project.py HelloWorldDisplay com.macadamian.helloworlddisplay C:\dev\test blackberry
2) Verify there are no errors and the files were copied/imported
3) Run the following command:
blackberry\builder.py build -t simulator -d C:\dev\test\HelloWorldDisplay -p C:\bbndk-2.0.0
4) Verify there are no errors
5) Verify the build_blackberry.log file contains the build output

Test 2: unit tests
1) Run the following command:
blackberry\blackberryndk.py -t
2) Verify all tests pass and no output was written
TIMOB-8896: Integrate v8 runtime into scripts

Changelog:
- Remove HelloDisplayWorld
- Remove .cproject .project .settings from tibbtest
- Modify common.mk and main.cpp as in DavidC patch
- Modify bar-decriptor.xml template
- Modifying the scripts in order to support different archs based on type.

TESTS:
- Run "project.py --blackberry_ndk=C:\bbndk-10.0.03 Demo
  com.macadamian.demo "c:\Users\alexg\Documents\Titanium Studio
  Workspace" blackberry"
- Make sure project created
- Run "blackberry\builder.py run -t simulator -d
  "c:\Users\alexg\Documents\Titanium Studio Workspace\Demo" -p
   C:\bbndk-10.0.03"
- Make sure project successfully run at simulator

NOTE: Needed DavidC commit in order to get things work properly