[WIP] Use getopt for CLI arguments

Refactors the script to use `Zend\Console\Getopt`, and hence getopt-style arguments, simplifying argument checking.

Of course, this means two largish changes:

- Old arguments were of the style single-dash + word; getopt uses single dash + letter (short options) and/or double-dash + word (longo options). Most options thus had to change. Additionally, to prevent conflicts, some were renamed (`-ver` becomes `--appversion`/`-a`, etc.).
- Because the script now has dependencies, it had to be separated into two; one for the main logic, and another for setting up autoloading.
- Also, because of the dependency issue, it makes sense to create a phar file, to ensure it can be used standalone.

Currently untested: Not sure if the script will work as a vendor script; will check into this before finalizing the PR. If it does not, I'll update `composer.json` to use the phar file instead.

Finally: trying to decide whether or not to include "self-update" functionality into the phar file. Thoughts? (See http://moquet.net/blog/distributing-php-cli/ under "Auto updates", for details.)