Test fromJavaString
Fix fromJavaChars to work when count or offset are 0
Add test that exercises fromJavaString with a substring
Merge branch 'master' of https://github.com/andreasgal/j2me.js into test_encoding

Conflicts:
	tests/automation.js
Merge pull request #198 from marco-c/test_encoding

Fix fromJavaString with substrings that have count and/or offset == 0