refactor put and get number of bytes
add test for uint, uint16
add doc
fix closure and doc
Merge pull request #1 from dead-horse/support-uint

Support uint