WICKET-4955 SessionData violates comparison contract

Return -1, 0 or 1 in #compareTo(). Some sorting algorithms are strict about this.
WICKET-4955 SessionData violates comparison contract

Follow Comparable#compareTo() contract and return just -1, 0 or 1.