Make static methods really static. Small naming changes.
More refactoring of formatter class.
Fix bug in formatToStave, and more cleanup.
Remove duplicate code from tuplets.js.
Fix bug in tuplet alignment when first note is rest.