WICKET-5634 Add IObjectCheckers that fails the serialization when the Session or another Page are serialized

(cherry picked from commit 3d51da25de089fc799c3a116c64786d967db26fa)