Added support for late static binding (PHP 5.3+) and inheritance.

I wanted to be able to override the cachebuster filename. The PR implements this functionality in an elegant and extensible manner.