Removed reference assignments

Removed reference assignments e.g. $var = &object;
Prevent PHP error messages by adding E_STRICT to error_reporting