Refs #56 - Define DATADIR constant in console and index.php.
Merge pull request #56 from synapsestudios/feature/56-define-datadir-constant

Define DATADIR constant in `index.php` and `console`