Update to Version 0.8

Too many changes to list. Massive clean-up across all the code, with
documentation for all XML-related nodes and functions.