check for defined constants

we currently have a lot of these

```php
if (!defined('FULL_PAGE_CACHE_GLOBAL')) {
	Config::getOrDefine('FULL_PAGE_CACHE_GLOBAL', false);	
}
```

We can easily skip the if part if we move it into the function. Less code and easier to read code..