Upgrade version and cleanup warnings.

- Upgrade version to 0.2.0-SNAPSHOT as the 0.1.0 was released already.
- Fix warnings when building
- Upgrade deprecated commons-ii library.