Fix dependencies.

http://rubygems.org/gems/mediawiki-gateway/versions/0.5.2 has many dependency issues: depends on itself, duplicates. It makes impossible to install gem.

Moving deps to the Gemfile fixes such issues.