IsPluginLoaded, ValidString and xml-comments

Utility function to detect if a plugin is loaded (so that plugins can perform extra actions, depending on loaded plugins i.e. SEconomy cost for commands)
Various xml fixes.
Improved ValidString.