Separating creation of XML sections into functions

To separate the creation of the XML sections into different functions allows for a better relationship between the way blender and ardour read files. The separation is not functional yet, but is the foundation for creating XMLs from dynamic content.