SC.Query's internal token tree should be a proper SC.Error when in an error state. (Someone should make SC.Query the same.) Adds unit tests.