[Bluetooth] Remove unused variables
[Power] Fix Power API failures on tct test suites.

-Remove workaround of glib callback as it is not needed anymore : the
extensions run in a separate process.
-Remove commented code in the examples as now switching on and off doesn't
background crosswalk behind the launcher.
[Power] Make test PowerManager_setScreenBrightness_brightness_TypeMismatch pass.

We need to throw the right error when the brightness passed is -Infinite,
+Infinite or NaN.
Merge pull request #143 from darktears/power-fixes

Power fixes
[SystemInfo][WIFI-Network] Fix illogical error callback and uniform to use C-API listener
Merge pull request #142 from jeez/bt-fix

[Bluetooth] Remove unused variables
[SystemInfo][CPU] Modify cpu usage calculation algorithm
Merge pull request #145 from fyraimar/master

[SystemInfo][CPU] Modify cpu usage calculation algorithm
[SystemInfo] Fix throwing exception with null callback
Merge pull request #139 from legendlee1314/master

[SystemInfo][WIFI-Network] Fix illogical error callback and uniform to use C-API listener
Merge pull request #146 from legendlee1314/upstream_master

[SystemInfo] Fix throwing exception with null callback
[Time] Add missing setFullYear, getSeconds, setSeconds
[Time] Fix secondsFromUTC() and add getTime()
[Time] Fix getDay misunderstanding

getDay() returns the day of the week (0 - 6)
getDate() returns the day of the month (1 - 31)
[Time] Refactor TimeDuration

Some tests needed to access its variables 'length' and 'unit'
[Time] Fix TZDate constructor

Some of the arguments are optional
[Time] equalsTo, earlierThan and laterThan now are throwing exceptions
Merge pull request #141 from ricardotk/wip

Time API fixes
bluetooth: Add handler for RFCOMMListen message

This will allow for ServiceHandlers, the server side of RFCOMM, to be
created.
bluetooth: Add support for registerRFCOMMServiceByUUID

This will create a service handler (in BlueZ terms, a socket listening on
an RFCOMM channel and a SDP record identifying this service), which has a
callback that will be called when a remote device connects to this service.