Handle commands that dump something

The idea is to catch the dumped result via ob_* functions, and consider it as the output of the command.
Merge pull request #1 from winzou/handle-dumped-output

Handle commands that dump something