Add the ability to add constants

Constants are necessary many times in entity classes for determinations and check comparisons.  We use them regularly for different types of statuses which may not be stored in a backend DB but possibly in a short-lived queue and/or cache.

```php
$this->setConstant('foo', 'bar');
```

Ends up creating:
```php
const FOO = 'bar';
```