Initial work on drawing ties for standard notation.

Currently, the tie direction is always the same regardless of stem
direction.

Bug: #38