Update AbstractDefinition.php

Removing the swear.
Added in the ability to add constants
Fixed basic installation path
Updated abstract script to allow for the service manager to be null in the application config
Merge pull request #15 from mwillbanks/feature/register-constants

Add the ability to add constants
config file updates, adding whole-app compiler