added browser support for signing
fixed tests
added keySize and maxMessageSize properties
fixed tests