Fixes suboptimal and buggy lastN/pinned endpoint calculation.
Removes superfluous synchronization in the simulcast manager.
Makes it possible to read from a file the list of bundles to launch (~/.sip-communicator/bundles.txt by default).
Support for generic cloud based metric service added
Minor formatting changes.
Fix for unclosed Scanner
Removed dead code block and rolled-up logic

The protocol cannot be null in the removed code as it is final static in the class and has a forced value. There is no need for the removed "if" block.
Added SuppressWarnings annotation

Added the @SuppressWarnings("deprecation") to handleColibriConferenceIQ method to mute warnings for the already annotated "FIXME" section regarding Content.getSctpConnection(Endpoint) deprecation.
Merge pull request #43 from mondain/patch-1

Fix for unclosed Scanner
Merge pull request #45 from mondain/patch-3

Removed dead code block and rolled-up logic
Merge pull request #46 from mondain/patch-4

Added SuppressWarnings annotation
Tracks whether an Endpoint is in any other Endpoint's lastN and sends data channel messages.
jitsi/libjitsi commit 4bc1eb6b66140853e0dead0e86c217899228a091: Furthers the support for preserving Buffer flags between libjitsi's network and FMJ's media layers. Does not decrypt the video sent by endoints who are not in any endpoint's 'last n'.
Fixed bug in ant script to create dist directory if it is not there:

$ ant dist.macosx
...
dist.macosx:
      [zip] Building zip: /Users/manuel/git/jitsi-videobridge/dist/macosx/jitsi-videobridge-macosx-build.SVN.zip

BUILD FAILED
/Users/manuel/git/jitsi-videobridge/build.xml:278: Problem creating zip: /Users/manuel/git/jitsi-videobridge/dist/macosx/jitsi-videobridge-macosx-build.SVN.zip (No such file or directory) (and the archive is probably corrupt but I could not delete it)
Mitigates a racing which could cause occasional failures to send a packet or two very soon after switching in relation to "last N".
Makes the SimulcastReceiver.MAX_NEXT_SEEN constant configurable.
Adds a NextSimulcastLayerStopped event.
Don't configure a next layer if MAX_NEXT_SEEN < 1.
Updates simulcast.md

Describes how simulcast layer switching works in the bridge.
Removes channel bundle ID from the conference once all channels which belong to bundle's transport manager have been expired.