Improve cli interface.

The cli application now resides in the `bin` directory and the `package.json` is updated to install it in `PATH` on global installation (with `npm install -g`). I also updated the readme regarding of these changes.

The cli application now prints the usage when called with not enough arguments and returns an error exit code.