Correct the 1.3.1 stubs and some other mistakes

I completed services declaration of the `Phalcon\DI\Injectable` according to source code of cphalcon, added multiple type declaration to some variables, and fixed some mistakes of the `gen-stubs.php`