Implemented TempoSpanner._general_align_markup().

Helps clean up tempo spanner markup handling.