[Notification] Make constructor explicit
[Notification] Fix leaking ContextAPI object
[Notification] Remove locking from NotificationManager in mobile

Locking was necessary because each instance was running in a separated
thread, but now all of them share the same thread, so it's safe to
access shared state without locking.
[Time] Constructor now accepting JSDate as argument
[Time] Fix toString()
[Time] Correctly calculate the difference and return in DAYS or MSECS
[Notification] Fix wrong loop in OnDetailedChanged

The loop was missing incrementing the iterator. This led to an infinite
loop, and then to crash in the extension process. This patch experiments
with std::find_if to avoid having to write the raw loop at all.
Merge pull request #150 from cmarcelo/notification-fixes

Notification fixes
Merge pull request #149 from ricardotk/wip

Fix Time API
[Notification] Use forceSetProperty to permit true readonly values
Merge pull request #151 from cmarcelo/notification-use-v8tools

[Notification] Use forceSetProperty to permit true readonly values
bluetooth: Fix replying to getDefaultAdapter() before it is ready

Before we can reply to that message we need to be sure that we have
all the information about the adapter (its path, address, for example)
or that information can't be obtained (BlueZ isn't running).
bluetooth: Cancel all pending calls on the destructor

We explicitly leak the GCancellable, because the calls are cancelled
asynchronously and they may survive BluetoothContext. We will only
free them on the shutdown callback of the extension.
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.
bluetooth: Add support for notifying that a socket as data available

This adds the SocketHasData message that has as parameters the data
that came from the socket and the socket file descriptor number on
which it came.
packaging: Link with libbluetooth

Now that we are using functions provided by libbluetooth we need to
link against it.
bluetooth: Add a simple workaround for setPowered()

When the adapter is already powered we may just call the callback.

This is just a temporary solution until there is a proper solution for
the problem of the adapter exiting the USB bus, when it is powered down.
Merge pull request #152 from vcgomes/bluetooth-set-powered-workaround

bluetooth: Add a simple workaround for setPowered()
Merge pull request #153 from vcgomes/bluetooth-fixes

[Bluetooth] Fixes dealing with sync replies and the instance destruction