Allow user to specify timeout for Python runner actions.

This change makes timeout for Python runner actions user-configurable.

Note: I will make the same change for fabric runner in a separate PR, but this will require some more code shuffling since currently we use global "env" dict to fabric (nasty).