Query performance optimization

Modifications to the pattern matcher, to find a better spot to begin the search for matches.  This prompted by discussion on mailing list, subject "[opencog-dev] PLN RC dataset" w/ @cosmoharrigan