added # char to encoding list and enhanced char-test unit test.
Merge branch 'master' of github.com:pubnub/javascript