YodaQA: Split pipeline build to buildPipeline() and refactor

The logic for skipping phases is now much clearer. Saving the model now
causes just a final scoring step and early termination.