Add inherited docs to encoders, minor tweaks
NumberEncoder should produce integer codewords, not strings
Better input checking in NumberEncoder
Tests for NumberEncoder