TIMOB-9874: BlackBerry: implement require()

[Issues Fixed]
TIMOB-9874: BlackBerry: implement require()

[Changes]
NativeLoggerWorker.cpp
- add newline to message first so the stream doesn't split it up

TiRootObject.cpp
- function executeScript
  - use variables for the bootstrap and app filenames
  - pass the filenames to the calls to Compile()
  - add the javascript filename and line number to the log message
- implement function _require

TiTitaniumObject.cpp
- function _include
  - add the javascript filename and line number to the log message

[Tests]
Test 1: Build and run an app (using .js files from Jira)
1) Put the .js files in the Resources dir so they will get packaged
2) Build, package, and run the app
3) Verify the correct info is shown in the app
4) Close the app, get the log, and verify the "module being loaded!" message is only shown once

Test 2: Crash the app
1) Put an undeclared variable in app.js, a file being included, and a file being required
2) Run the app, verify it crashes, get the log, and verify the location of the problem is shown
3) Remove the offending variable
4) Repeat Steps 2-3 until all offending variables are gone and the app runs successfully
TIMOB-9874: BlackBerry: implement require()

updated require() documentation
put module error string in central location
check if Message() is empty
replace exception->IsString() hack with FIXME
rename v8Id to be more representative
add space in include() error string
Added logging support for trigger scripts
TIMOB-9875: <Implemente setTimeout>

Reviewers: Davic C, David L

Change Log:
implemented following global functions:
- setTimeout
- setInterval
- clearTimeout
- clearInterval

TestCases:
 - You can use following JS code to test above mentioned functionality:

var win1 = Titanium.UI.createWindow({
backgroundColor:'#F00'
});

var t = setTimeout(function(){
		Ti.API.debug('Called using setTimeout');
		}, 5000);

var button2 = Titanium.UI.createButton({
title: 'Timeout',
top: 200,
});

button2.addEventListener('click',function(e)
{
	Titanium.API.info("You clicked the button 2");
	clearInterval(t);
	//make sure setTimeout is not cleared
});

var button = Titanium.UI.createButton({
	title: 'Interval',
	top: 10,
});

var count = 0;
var timer = setInterval(function(){
	count++;
	button.title = "count: " + count;
}, 5000);

button.addEventListener('click',function(e)
{
	Titanium.API.info("You clicked the button");
	clearInterval(timer);
});

// open window
win1.add(button2);
win1.add(button);
win1.open();
TIMOB-9873: BlackBerry: Implement Platform elements needed for KitchenSink part2

Reviewers: DavidC, JP

ChangeLog:
- Implement version property using native library.
- Implement displayCaps property for now as a new object with properties having default values.
- Suppress warning of yet unused functions.
- Add library to common.mk

Test Cases:
- Test javascript available within jira issue.
Merge pull request #98 from dcampbell-macadamian/TIMOB-9919

TIMOB-9919: BlackBerry: Exception logging of events
Addressed comments.
Merge branch 'platformBranch2', remote-tracking branch 'upstream/blackberry' into platformBranch2

#Some more info....
TIMOB-9873: BlackBerry: Implement Platform elements needed for KitchenSink part2 ver2

Reviewers: DavidC, JP

ChangeLog:
- Update apidoc.
- Address comments.

Test Cases:
- Test javascript available within jira issue.
TIMOB-9874: BlackBerry: implement require()

added id support to TODO
Merge branch 'master' into TIMOB-9874_01

Conflicts:
	blackberry/tibb/TiMessageStrings.h
Merge pull request #96 from dlifshitz-maca/TIMOB-9874_01

TIMOB-9874: BlackBerry: implement require()

[Issues Fixed]
TIMOB-9874: BlackBerry: implement require()

[Changes]
NativeLoggerWorker.cpp
- add newline to message first so the stream doesn't split it up

TiRootObject.cpp
- function executeScript
  - use variables for the bootstrap and app filenames
  - pass the filenames to the calls to Compile()
  - add the javascript filename and line number to the log message
- implement function _require

TiTitaniumObject.cpp
- function _include
  - add the javascript filename and line number to the log message

[Tests]
Test 1: Build and run an app (using .js files from Jira)
1) Put the .js files in the Resources dir so they will get packaged
2) Build, package, and run the app
3) Verify the correct info is shown in the app
4) Close the app, get the log, and verify the "module being loaded!" message is only shown once

Test 2: Crash the app
1) Put an undeclared variable in app.js, a file being included, and a file being required
2) Run the app, verify it crashes, get the log, and verify the location of the problem is shown
3) Remove the offending variable
4) Repeat Steps 2-3 until all offending variables are gone and the app runs successfully
TIMOB-9873: BlackBerry: Implement Platform elements needed for KitchenSink part2 ver2

Reviewers: DavidC, JP

ChangeLog:
- Address comments.
- Calculate display caps values.
- Added bps to libraries for tibapp project.

Test Cases:
- Test javascript available within jira issue.
Merge branch 'blackberry' into setTimeout
Addressed comments.
TIMOB-9873: BlackBerry: Implement Platform elements needed for KitchenSink
part2 ver3

Reviewers: DavidC, JP

ChangeLog:
- Address comments.

Test Cases:
- Test javascript available within jira issue.
TIMOB-9948: BlackBerry: Make KitchenSink build for BB

fix exports in require()
Merge pull request #99 from alexandergalstyan/platformBranch2

TIMOB-9873: BlackBerry: Implement Platform elements needed for KitchenSink part2
Merge pull request #102 from dlifshitz-maca/TIMOB-9948_01

TIMOB-9948: BlackBerry: Make KitchenSink build for BB
TIMOB-9949: BlackBerry: Comment out unimplemented elements in KitchenSink

ChangeLog:
blackberry/tibb/NativeControlObject.h
- Fixed crash while setting height, width properies for window.
blackberry/tibb/NativeTabObject.cpp
- Fixed Tab object image url issue.
blackberry/tibb/titanium/javascript/bootstrap.js
- Added temproraly solution for L

Test Cases:
- Run modified Kitchen Sink
- Make sure it successfully launches.