Added AttributesManager to handle clefs, key and time signatures.

Moved clef managing part from parser to AttributesManager.
Implemented adding clef on a first measure on the same line.