Start refactoring spatialmatch for better intermediate testability.
Split verifymatch out of spatialmatch.
Merge branch 'test-better' into relev-reverse

Conflicts:
	lib/spatialmatch.js
Adjustments to memsource for better testing.
Add sketch of tests that hit problematic cases without using real indexes.
Merge branch 'test-better' into relev-reverse
More stringent corner cases tests and refactored spatialmatch to pass 'em.