(PUP-1027) Add warning for reserved keywords

This adds deprecation warnings in the current parser for the keywords: function, private, attr, and type.
The same keywords are treated as errors in the future parser (this, until there are implementation
of these new features). (see commits for more detailed comments).