fix for Find Bugs findings on troubling issues: returning null when expected is boolean; adding 6 unit tests and fix 1 in the KVMFencer; comparing objects with == instead of equals()

Signed-off-by: Daan Hoogland <dhoogland@schubergphilis.com>