Fix warnings and clean up.
release 0.6

* Fix warnings and clean up.
* Gemspec specifies ruby 2.0.
* Add dependency version spec to gemspec.