STITCHER: Real-Time Trajectory Planning with Motion Primitive Search