Merge pull request #240 from kp52/develop

Move retrieval of module definition so it can run
Update language files to reflect changes to use of modx_charset in manager
Remove some pointless messages from mutate_settings.dynamic.php
Bugfix for manager/includes/get_manager_language.inc.php
Make charsets.php ordering easier for the most common encodings (UTF8 and ISO 8859)
Bugfix: Change !is_resource() to is_string in abstract DBAPI class so that both mysql and mysqli work correctly
Minimise change of variable names in core code conflicting with variable names in eval'd code.
Add @legacy_name functionality to modules
Add Doc Manager as a @legacy_name for Resmanager.tpl in install files