COMETD-546 - Security - JSONP callback param validation is needed.

Added check on the length of the callback param value, and validation on the characters that it may have.
Cosmetics.