allow package type to be set with init command

This PR adds the ability to set the package's type from the `composer init` command.

Adds support for `help init` command output, `init --type` flag, and interactive input.