Re-organized the EncodingDetector files.
Added build script for external libraries + updated makefile.
Cleaned up EncodingDetector - the public interface is now more minimal + universalchardet dependencies are now hidden.