Include name in validation messages

Addresses #1415, with the addition that it also fixes the message for methods and functions. As an unrelated bonus, I have added `jsonlint` and `validate-json` commands to `.gitignore`.

Scenario "Inherit @​package tags from a parent interface" was already failing.