WIP Cartridge Refactor - improve robustness of oo_spawn

* Update cartridge writing guide
* Create HOME environment variable by default
* Skip teardown script that is not executable
* oo_spawn monitors stdout/stderr/exitstatus of children for termination
Merge pull request #1520 from jwhonce/wip/master

Merged by openshift-bot