Update git ignore patterns
Add test scripts for profiles

There is a script for each grammar version, since each version generates
different profiles.

The scripts check that there are no bogus profiles with results, and that
profiles aren't duplicated if they're production profiles (test profiles
can be duplicated since we can reload the parameters without redoing
first launch).