more tests
Improved Detection class

Improved detection class by splitting into chunks and then apply the n-gram classification until we get somthing useful, or we use the average of all outputs.

Also in this commit:
1. Added Hebrew
2. Improved multi-byte support (Treat everything as bytes for now)
3. Added more tests