Better synchronization for observers set

This fixes an issue caused by the keySet method of WeakHashMap not being
thread-safe, even when wrapped with synchronizedMap.
Updated Codox plugin to 0.6.6