WFLY-2225 - Mutated AtomicInteger/Long session attributes are not replicated
Add more immutable types.
Add support for immutable value detection, e.g. Collections.EMPTY_LIST