Fix NULL checks

Checking for NULL after dereferencing is useless.
Deferencing after check should be done only if pointer != NULL.
Check for NULL

Protect against (theoretical) NULL pointer dereference.
None of the checks are triggered with current code, but might be in future.
Avoid calculations with uninitialized data

(result is not used anywhere, but this may change later)
Add missing BD_ATTR_MALLOC
FontFactory: avoid leaking font file descriptors
Added const
Log BD-J rate change requests
FontIndex: avoid leaking file descriptiors
HEventGroup: Fix null pointer dereference

keys list was uninitialized.
HScene: remove incorrect synchronized() {}

- Synchronizing linked list add/remove against linked list head is useless (head element can change).
- List usage was not synchronized.
- HAVi does not require [add/remove]WindowListener to be thread safe.
VideoControl: fix getNormalizedRectangle()

Values were calculated using integers. Result was 0 or 1 instead of proper float value between 0 and 1.
AsynchronousLoadingEvent: fix getSource()
BDImageBase: Remove useless synchronized
UserEventAvailableEvent: fix getSource()
BufferedImage: Remove useless synchronized
Add missing break.

This event is not (yet) used.
add missing synchronized
Fix null checks
Support for building with MSVC 2010 & 2012
Added bd_get_clip_infos