#5 polished and added javadocs to PositiveIntEncoder
Merge pull request #7 from olegz/5

#5 polished and added javadocs to PositiveIntEncoder