exec/testing: added support for output by command args
provision/docker: storing container id on docker collection.

Also refactoring tests to return output based on command arguments.

Closes #423
misc/docker-setup: fixed typo in comment
misc/lxc-setup: updating script to use common functions in tsuru-setup and gandalf-setup

Also spliting everything in functions to be more organized.