Fixed compatibility with MODX 2.3, updated API integration
Merge pull request #2 from grachov/master

Fixed compatibility with MODX 2.3, updated API integration