Merge pull request #170 from ricardotk/wip

[Time] Fix the style of Time API JS File using the new checking tool.
[Notification] Clean up example a bit
[Notification] Fix JS style

Fixes #161.
Merge pull request #172 from cmarcelo/notification-cleanup

Notification cleanup
[Power] Fix a TCT failure with isScreenOn()

TCT tests are expecting turnScreenOn/Off to have a synchronous behavior
which in fact means that querying the screen state right after should
return the correct value. In fact the underlaying platform does not
necessarily switch on or off the screen right away, it may take few
ms. This patch add a synchronous behavior to isScreenOn by
making sure to return when the platform informed us about the state
change of the screen (if called previously with turnScreenOn/Off).
This is slightly better than a busy wait.
Merge pull request #171 from darktears/power-isscreenon-fix

[Power] Fix a TCT failure with isScreenOn()
[common] Create C++ wrapper to replace ExtensionAdapater

Current ExtensionAdapter ends up merging the concept of extension and
instance (before called Context) together, and this causes confusion
understanding the execution of the code.

The new approach is to create a C++ pair of classes that represent
Extension and Instance. This mimics what we have inside Crosswalk, and
also is pretty much the same approach PPAPI constructs its C++ API as
well.

One nice consequence is that the subclass of Extension can be used to
store objects shared by all instances -- since it have the correct
lifetime. We can get rid of most ad-hoc singleton implementations in the
code.

One downside is that we resort to virtual methods in this new
approach. Even though the overhead is low, if this proves to be a
bottleneck for a specific extension, it's easy to fallback to using the
C API directly instead of the convenience.
[Notification] Use new C++ wrapper in common/

NotificationExtension now hosts the NotificationManager for mobile and
passes to the instances. For convenience, two different instance
interfaces were created, one for Desktop other for Mobile.

Behavior should not change after this patch.
Merge pull request #175 from cmarcelo/cpp-wrapper

Add a more friendly C++ wrapper for our C API
[Time] Fix TimeDuration unit set property comparison
[Time] Fix toString getDay misunderstanding

getDay() returns the day of the week (0 - 6)
getDate() returns the day of the month (1 - 31)
[Time] Add unicode timezone support

Tizen uses unicode timezone to do timezone operations.