Drop Ruby 1.8 support

This pull request drops support for Ruby 1.8 and bumps the version to 0.4.0.