Preparing for 0.5 release

Fixed a generics thing due to Java 1.7 differences. Also upped the
release version.