Remove unused code

The version information is now read from composer.json therefore
the old constants are not longer necessary.