Fix copyright notices for new C++ code.

Replace the copyright headers with the new headers in all source files.
Add the new header to most build system files and some other files.
May have missed some files that should have the header, but most files
new in the master branch should now have the new header, with a
reasonable set of copyrightable years.

Update the list of years as the years where there have been commits to
those files (excluding most recent copyright and uncrustification
changes).  Remove copyright years that predate existence of the code.

Regenerated the selection parser files from source to fix line numbers
caused by different number of lines in the new copyright header.
Add copyright declarations to generated selection parser files.
Some other changes in the generated parser.* caused by Bison updates
(now used 2.6.2, previously had used 2.5).

Part of #818.

Change-Id: I38c18c03b1ee0ff55fd112951d3f741274ad59af