Refactor Rakefile to use Rake::ExtensionTask and make test task depend on it. Also use a lib/polarssl.rb that requires lib/polarssl/polarssl.bundle so we can also mix in Ruby code into the library.