documentation

Added ldoc as a dependency. Builds the documentation as an AfterBuild task. Removed unused code in the message test module.