tests/path: Allow testing for valid queries

This will allow adding negative tests to JsonPath.

The tests will only be caught when compiling the query; an invalid query
won't return a match, so there's no point to check matches.
tests/path: Start adding negative tests for JsonPath
Update ignore file for autotools 1.13