static:: does not work on PHP 5.2

Hi,

I think this is my final pull request for now; the "static::CONST_*" doesn't work in PHP 5.2 as I found out during some testing today. "self::CONST_*", however, does work just fine. So I did a quick search and replace and here's the patch.