Specify dependency to parser in a better way.

So we don't have to update the gemspec every time a new beta version
of parser is released.

Suggested by @whitequark [here](https://github.com/jonas054/rubocop/commit/cd48593ecb9d03562d93d1ef8af29cbc4c69421e).