Allow erizo connections to hostnames and via SSL.

In order to get around CORS requirements, it's helpful to be able to
connect by a DNS name instead of an IP address. Allow the hostname
provided in tokens to be configurable. Also allow setups where something
like nginx fronts erizo_controller and provides SSL termination.
Always include the port in the hostname.

This will take care of the case where the page serving erizo is on a
strange port. In that case, socket.io attempts to connect on the port of
window.location if the port is not specified.
Changed resizing functionality, now we dont use intervals to resize videos anymore
Change in code to resolve potential problems with mutexes
Merge branch 'master' of http://github.com/ging/lynckia
More control on other mutex
More changes
NiceConnection is now a shared_ptr in Transports
the NiceConnection is now also dettached from the main loop when
destructing
Changed threading in NiceConnection and DtlsTransport
Reduce the scope of a variable, and remove pointless memsets (the same memory is immediately overwritten by the subsequent memcpy)
Fix an issue with memory not being cleaned up; according to libnice the string output needs to be cleaned up with g_free()
iceState and context_ are not initialized in the constructor.  Also move some stuff that's initialized in the constructor manually.
Release our context when we're done with it, otherwise it'll leak.
Fix constructor, initialize nice_, remove spurrious semicolons
nice_ doesn't need to be initialized anymore since it's a smart pointer.  remove unnecessary "friend" class.
Fix unsafe iterator behavior.  Once the iterator is erased, it is invalid and cannot be used.  It needs to be replaced by the iterator returned by erase().
Fix some super weird code in the dtls directory; this code is incorrectly freeing something it didn't allocate in the first place, although that would never happen because of an if-check that was wrong.  The memory it should be freeing shoul dbe freed with OPENSSL_free(), not regular free().
Remove unused variable, commented out code.
Fix memory leak in the case of an error.
Fix incorrect iterator usage, and update a log message to be correct.  Cannot erase the iterator currently being used; need to assign to return value of erase()