Define the version number via a constant, replace getVersion logic
Make the entry point compatible with pre-PHP 5.3, just in case...
Merge pull request #60 from cobaltcrm/getVersion

Modify how version is set and retrieved