Fix Application#run().

Also, make Cli#run() return a boolean success value.

Closes #337.