(PUP-2824) Add errors for reserved parameter names

This adds validation of reserved parameter names; $name and $title
that, if they are used will cause problems later in the production
of a catalog.

The implementation performs the checks as part of validation of
the parsed puppet logic.
(maint) Remove unused index in iteration

This replaces a each_with_index with just each since the index
was not used in the logic of the internal_check_no_capture method
in the checker4.0.
Merge pull request #2804 from hlindberg/PUP-2824_reserved-param-names

(PUP-2824) Add errors for reserved parameter names