run_shell_command with timeout param and default timeout

Accidentally close #8 earlier today, so starting a new pull request.

Tully, the issue is still that the nicest implementation for linux (killing the process on Ctrl-c) does not work on windows. Do you have a preference for how we should proceed with this?