TIMOB-8843: Implement UI module (work in progress)
Reviewers: JP, David L

Change Log:
- moved properties to base class
- added Cascades Container control to base class
- all controls are wrapped in container
- added properties: anchor point, background disabled color, enabled, height, opacity, width
- added IDs to event subscribers
- added remove event listener function

Test Cases:
- build tibb
- build tibbtest
- move slider - label should move and button should fade in and out
- push button - background colors of slider and progress bar should change

See https://jira.appcelerator.org/browse/TIMOB-8843
Addressed code review comments
Merge branch 'blackberry' into TIMOB-8590

Conflicts:
	blackberry/tibb/NativeContainerObject.cpp
	blackberry/tibb/NativeControlObject.cpp
	blackberry/tibb/NativeControlObject.h
	blackberry/tibb/NativeObject.h
	blackberry/tibb/NativeTextFieldObject.cpp
	blackberry/tibb/NativeTextFieldObject.h
	blackberry/tibb/TiUIBase.cpp
	blackberry/tibb/TiV8EventContainer.cpp
	blackberry/tibbtest/app.js
TIMOB-8843: Complete Layout Handling of UI View (Work in progress)
Reviewers: JP, Harut

Change Log:
- added support for parsing width and height string parameters
- added 'get' property support
- modified NativeControlObject static tables
- added NativeControlObject structures
- added support for getting the 'visible' property
- modified the app.js test app to read visible property

Test Cases:
- build tibb
- build tibbtest
- run tibbtest on simulator
- move slider - label and button should move, button opacity should change
- push button - button should read 'Pushed!', slider should disappear, label should read 'Progress bar is invisible'
Merge branch 'genBarDescBranch', remote-tracking branch 'upstream/blackberry' into genBarDescBranch

#Some more info....
TIMOB-9164: Blackberry: [Studio integration] regenerate the bar-descriptor file at packaging time

Reviewers: DavidL, JP

CHANGELOG:
- Move the deltafy.py to common directory
- Change compiler.py in order to correctly import deltafy
- Modify builder.py in order to regenerate bar-descriptor.xml if tiapp.xml was changed.

TESTS:
- Run scons to build the mobile sdk for both android and blackberry
- Make sure adroid & blackberry projects can be successfully created and run
- Make sure if tiapp.xml changed, bar-descriptor.xml also changed again common properties like:
'id', 'appname','description','version','author','category','icon'
- Make sure project can be successfully run.
TIMOB-8826: <Implement UI.Picker>

Reviewers: Davic L, JP

[Changes]
Implemented UI.Picker module and following API for this module:
properties: minDate, maxDate, type, value, width, height, left, top
functions: setters and getters for the properties
events: change
 - value property (only this property is meaningful for the date/time
   picker

Note: since bb cascades supports only date/time picker.

[Test Cases]
- clean and build tibb and tibtest
- in JS create a picker
- make sure all the mentioned properties/functions/events are working
TIMOB-9164: Blackberry: [Studio integration] regenerate the bar-descriptor file at packaging time ver2

Reviewers: DavidL, JP

CHANGELOG:
- Revert deltafy.py changes.
- Added new class method in blackberry.py to regenerate.

TESTS:
- Run scons to build the mobile sdk for both android and blackberry
- Make sure adroid & blackberry projects can be successfully created and run
- Make sure if tiapp.xml changed, bar-descriptor.xml also changed again common properties like:
'id', 'appname','description','version','author','category','icon'
- Make sure project can be successfully run.
Merge branch 'genBarDescBranch', remote-tracking branch 'upstream/blackberry' into genBarDescBranch

Conflicts:
	support/blackberry/builder.py
TIMOB-9164: Blackberry: [Studio integration] regenerate the bar-descriptor
file at packaging time ver3

Reviewers: DavidL, JP

CHANGELOG:
- Address comments

TESTS:
- Run scons to build the mobile sdk for both android and blackberry
- Make sure adroid & blackberry projects can be successfully created and run
- Make sure if tiapp.xml changed, bar-descriptor.xml also changed again common properties like:
'id', 'appname','description','version','author','category','icon'
- Make sure project can be successfully run.
addressed comments
Addressed comments:
Speed up tibb build

[Description]
The Titanium Mobile Platform Development doc says to use NUM_CPUS to parallelize the build so now that env var is utilized.

[Changes]
tibb/Makefile
- added J_OPTION to make commands to use NUM_CPUS if available, or 1 if not

[Tests]
Test 1: Build tibb
1) Set NUM_CPUS env var to the maximum number of supported cpu threads
2) In tibb directory, run make all
3) Verify the j option is passed to the target's make command
Addressed comments
Changes from code review
Merge branch 'blackberry' into TIMOB-8590

Conflicts:
	blackberry/tibb/NativeContainerObject.cpp
	blackberry/tibb/TiV8EventContainer.h
TIMOB-9389 & TIMOB-9407

TIMOB-9389 Blackberry: implement String.format numbered specifiers support
TIMOB-9407 Blackberry: add support for StringObject in the String formatting methods

Changelog:
- added support for numbered args in format
- update apidoc + extra condition
- Support StringObjects where String is expected
- convert non string objects using ToString
NOTE: our Ti objects currently don't support toString correctly and crash when hitting that code.  TIMOB-9665 has been created to track that issue.

Tests:
- Verified converting non string objects when string is expected works except for Ti objects
-- Tried both as format string and as string param
- Verified that StringObjects work just like a string
- Verified using numbered args works correctly, and that using the same arg multiple times in the same format string also works as expected.
TIMOB-9389 & TIMOB-9407 part 2

TIMOB-9389 Blackberry: implement String.format numbered specifiers support
TIMOB-9407 Blackberry: add support for StringObject in the String formatting methods

This patch is to move the native code into a Native class accessible via the objectFactory.  It also attaches the string methods to the builtin String object rather than overriding it.

Changelog:
- add the String methods to the Global String object
- moved native logic to a Native* class
- added NativeObjectFactory::getNativeStringInterface
- moved create string methods to a function in TiRootObject
- silence compiler warnings
- remove implementation of JSON and decode/encodeURIComponent that are built in V8
- fixed include order in NativeObjectFactory.cpp
New files:
 - NativeStringInterface.*
Deleted files:
 - TiJSONObject.*
 - TiStringObject.*

Tests:
- Verified that tibb and tibbtest build correctly and the format method is accessible on the String object
- Validated that String, JSON and its methods and also encodeURIComponent/decodeURIComponent built-ins are now available and usable
Updated API document
Added "platforms" define to properties that are not yet supported by BlackBerry