A couple of fixes, mostly for IDEs but also some real errors

Hi Pablo,

my pull request contains mostly little fixes that avoid IDEs (I'm using PhpStorm) showing errors, which has many side effects like linking in IDE not working, which at the end makes working with Mandango harder for developers.

It also contains a couple of real code changes:

https://github.com/AntonStoeckl/mandango/commit/6c787ae64329c29c54367ce6dfa563509d1e6937

https://github.com/AntonStoeckl/mandango/commit/8f3b4da0fd6aff2126b0dd41e97a910bc296fc51

Obviously some changes are only for my needs, the one in composer.json and .gitignore.

Please pull in the other changes :-)

I'll do the same for Mondator and then work on some real changes / extensions which make it easier to use Mandango with Zend Framework 2.

Best regards, Anton