Merge pull request #1 from modxcms/develop

From modxcms
* The “ManagerManager” plugin has been updated to 0.6.1.
* .htaccess changes:
	* The redirection from “example.com” to “www.example.com” was replaced with one that works with any domain name.
	* The following folders: “js”, “css”, “images”, and “img”  were removed from the redirect exception because of their absence in the root folder.
* The method “$modx->getDocuments” has been updated to 1.1:
	* 'all' can now be passed to “$published”  to make the result returned regardless of documents publication status.
	* 'all' can now be passed to “$deleted” to make the result returned regardless of documents removal status.
	* Minor code style changes.
* The method “$modx->getDocument” has been updated to 1.0.1:
	+ 'all' can now be passed to “$published”  to make the result returned regardless of documents publication status.
	+ 'all' can now be passed to “$deleted” to make the result returned regardless of documents removal status.
	* Minor optimization and code style changes.
* The method “$modx->getTemplateVars” has been updated to 1.0.1:
	+ 'all' can now be passed to “$published”  to make the result returned regardless of documents publication status.
	* Minor code style changes.
* The method “$modx->getTemplateVarOutput” has been updated to 1.0.1:
	+ 'all' can now be passed to “$published” to make the result returned regardless of documents publication status.
	* The redundant passing of the parameter “sep” into the “$modx->getTemplateVars” method has been removed.
	* Minor code style changes.
* The method “$modx->getDocumentChildren” has been updated to 1.1:
	+ 'all' can now be passed to “$published” to make the result returned regardless of documents publication status.
	+ 'all' can now be passed to “$deleted” to make the result returned regardless of documents removal status.
	* Minor optimization and code style changes.
* The method “$modx->getDocumentChildrenTVarOutput” has been updated to 1.1:
	+ 'all' can now be passed to “$published” to make the result returned regardless of documents publication status.
	+ The “$where” parameter that allows an sql where condition to be set (only the fields of a required document can be used) has been added.
	+ The “$resultKey” parameter that allows result array keys to be set as values of one of the document fields (or TVs) has been added.
	* The “$modx->getDocumentChildren” method receives only IDs, other data is received later.
	* The “$docsort” parameter has been renamed as “$sortBy”.
	* The “$docsortdir” parameter has been ranamed as “$sortDir”.
	* Minor code style changes.
* Methods “$modx->getDocumentChildren” and “$modx->getDocuments” have been updated to 1.1.1: string 'all' is equals 0 in PHP.
Merge branch 'develop' of https://github.com/DivanDesign/MODXEvo into DivanDesign-develop

Conflicts:
	manager/includes/document.parser.class.inc.php