Performance improvements for common use cases.

Instead of loading all the tests and filtering, running phase/check
ranges now regex-matches path segments as it searches. Phase and
check together will be faster since the path is more specific, but
check alone should also see some gains.

Also fixed some lurking corner cases with parsing phase/check
combinations.

Related: #6.