Prevent multiple tick conversions

Adds internal state and checks to Pattern and Track to prevent duplicate
calls to make_ticks_abs() and make_ticks_rel(). Fixes #20.