daemon: Add missing lock in ConnectionManager
android-daemon: Target level raised to 18.
android-daemon: Resume P2P only if the daemon is running.
android-daemon: Use new p2p API features of Android 4.3
daemon: Lock scheduling bundle index while working on it
daemon: Missing getDistinctDestinations() method in SchedulingBundleIndex implemented
Merge latest changed from master into android branch.
android-daemon: Start peer discovery only once
android-daemon: Do not print unnecessary log messages
daemon: Fix locking in DatagramConvergenceLayer

The number of connections are now counted separately. Previous locking
did not protect against the modification while creating a connection. The new
RW locking solves this issue.
daemon: Move a lock in DatagramConvergenceLayer to lock the descructor until all operations are done