Add option to set shebang line to StubGenerator

This patch adds an optional `setShebang($shebang)` method to the `StubGenerator` in order to overwrite the default shebang.

In particular, this is useful for custom setups where `/usr/bin/env` is not available or if it's required to pass additional arguments to the php interpreter (like `#!/usr/bin/php -q`).