Merge pull request #2 from modxcms/develop

update
Fix bug getDocumentChildren
http://monosnap.com/image/B3JQAV6QO5EL7bvpyKlKuwrf93XGSU
db->query(SELECT) to db->select()
Restore quote
db->escape() can work with array
while(db->getRow) to db->getColumn()
join() to implode()
Cool explode()
Lost $displayStyle
db->query(SELECT) to db->select()
Cool explode()
Bugfix
Correct usage table_prefix
Escape fields before update/insert
Add $thumbnailerUrl only if url!=''
Synchronize code in delete_*.processor.php
- intval(id) param
- save logger before delete
- code alignment
Check 'error_page' and 'unauthorized_page' when delete document
Design for "This template is in use" alert
Check ID for processors
sync code in *publish_content.processor.php