Update core/model/modx/modx.class.php

It would allow developers to create different parsers or extend the current
parser at ease without hacking the core.