Insertcleanup

This PR removes the code that was developed prior to the components to insert sub-templates through function calls (aka. *Insert nodes*). As a consequence element attributes and text nodes now use the same expression implementation - which fixes issues #34 and #50