Add basic ini_set for php error.log

Signed-off-by: Ronan Chilvers <ronan@thelittledot.com>
Add context\singleton class to allow easy creation of singleton context objects
Implement start of Config and Environment singletons

Signed-off-by: Ronan Chilvers <ronan@thelittledot.com>