Added autoload section for composer

This PR allows easy autoloading of stubs.

Also is it possible to register the package on packagist and eventually tag the releases ?