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.
Merge pull request #212 from jonas054/fix_parser_beta_dependency

Specify dependency to parser in a better way.