Remove cruft
Update mock/stubs to avoid deprecations
Force subprocess to exit after timeout

Fixes MIXLIB-16.

This issue is particularly prominent when yum/rpm commands go off the
deep end repeatedly, but affects any case where a process takes longer
than the timeout to complete.