dup_yyval should use a copy-constructor for ParserVal

Thanks a lot for putting byacc/J into a git and making it compile on linux again :)

Here is a change (and a .gitignore file) that I need for my parser. Perhaps it is useful to others, too.

See the commit message for a few more details.

Thanks