Added implements to gen-stubs
Fixed final and abstract class declaration in gen-stubs
Fixed method modifiers in gen-stubs
Merge pull request #44 from Sirian/master

Fixes in gen-stubs.php