Create version file and use it for Rakefile, instead of parsing with regexp...

Create `version.rb` file for version info, like typically gems do. Advantages are that doesn't have to include everything just to see current version, for example in gemspec. Also in Rakefile use this file, instead of manually parsing with regexp.

Also added dependency versions to gemspec to avoid warning (about how it's not recommended) when building gem.