Filter for hairpin, ottava, trill and pedal line.
Added tests for hairpins, ottava, trills and pedal lines.