revert handleLazyProxy method changes. Keep the old behaviour for compatibility reasons.
simplify / refactor handleLazyProxy
port handleLazyProxy changes from hibernate3 to hibernate4 module