Make python client read more like python code.

Simple cleanup here: getting rid of semicolons and adding a little
whitespace. I also changed a name that conflicts with a builtin
function.
Merge pull request #100 from byronclark/nuve-pythonic

Make python client read more like python code.
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()