fix readme, make errors extend Error, make unnecessary public constant private and update associated unit tests
Merge pull request #23 from 0xor1/dev

fix readme, make errors extend Error, make unnecessary public constant p...