Fix VexFlow build problems.

Some out-of-order VexFlow classes were causing issues with the Jasmine
unit tests. Now some special exceptions are added to handle circular
references and merged files.