Handle accidentals properly across octaves.

Now, we supply our own octave-aware implementation of KeyManager, rather
than relying on the temperamental one provided by VexFlow.