Improved OOME handling. Enhanced Default OOME handler to be able to distinguish a real lack of memory from a failing large allocation. Injected some missing OOME dispathing points in internal Hazelcast threads.
Abstracted DefaultOutOfMemoryHandler memory info accessor logic. Added a few tests.
Merge pull request #4084 from mdogan/oome-handler

Improved OOME handling.