Major feature additions/changes

Added new features to the ExoTools.Document namespace. Enhnaced and
optimized other ExoTools functions.