updates to the gem meta

Using the latest standards and some cleanups.
updates to the test suite

Cleanups and standards.
some minor lib cleanups
Merge pull request #78 from redding/kr-cleanups

Updates and cleanups