Restructure the module manifest

No longer is there a <module> tag, now all the attributes are in the manifest
tag. Furthermore the <optional-all> tag is now an attribute rather than it's own
tag.
Removed some debuggers