SFR 445447 - Fix deadlock in AbstractBufferCaptureDevice
- Don't synchronize internal methods on whole class instance, just the main public one
- Add some specific locks for the things that we were previously protecting and synchronize on those locks
- Bit of code tidying too

Note: tested this by making the loop in WASAPIStream.runInEventHandleCmd execute one more time after the stream is stopped.  This can result in an UndeclaredThrowableException because the stream is closed but that gets caught and logged with no user symptoms (and only occurs in a v.small window condition).

#FOR_CORE
Expose full audio device configuration to user.
Merge branch 'master' of github.com:Metaswitch/libjitsi

Conflicts:
	src/org/jitsi/impl/neomedia/jmfext/media/protocol/wasapi/WASAPIStream.java