Add encoding parameter to getTweetLength()

As mb_strlen() relies on mb_internal_encoding() to set encoding, length is not properly calculated in case internal encoding != 'UTF-8'
Merge pull request #7 from gmmarc/master

Add encoding parameter to getTweetLength()