On Trail Comparison, Clustering, and Prediction: Building a Framework for Working With Sequential Network Data