Added some required functions.
Merge branch 'master' of github-craftsmancoding.com:craftsmancoding/modx_utils