NHibernate deduplication fails on large messages

Gateway deduplication fails on messages larger than 8KB with error
message
The length of the byte[] value exceeds the length configured in the
mapping/parameter.
Merge pull request #1392 from chrisbednarski/nhdeduplication

NHibernate gateway deduplication fails on large messages