Added flag to return stdout and stderr buffers to get_stdout. Added documentation and examples for this behaviour. Added tests for returned output. Closes #4
Updated documentation. Code cleanup