Replaced asserts with exceptions. Added functions for validations. Added function for easier XPath debugging. Added parsing of several more course attributes.