Restore articulation functions #196

Implements contextual rewriting of articulations (same as for dynamics).
TODO clean constraints
TODO implement notateArticulation
TODO implement the relevant backend instances