Node Platform - Add more checks for gear structure

* Check for cartridge idents and OPENSHIFT_PRIMARY_CARTRIDGE_DIR
Limit initial build client output to 10Kb

Following an Initial-Build, limit the capture of client_message
data to 10Kb.
Fixing extended tests
Merge pull request #5021 from ironcladlou/initial-build-limiting

Merged by openshift-bot
Merge pull request #5029 from danmcp/master

Fixing extended tests
Merge pull request #5022 from jwhonce/wip/oo-accept-node

Merged by openshift-bot
Automatic commit of package [rubygem-openshift-origin-node] release [1.22.5-1].
Automatic commit of package [rubygem-openshift-origin-msg-broker-mcollective] release [1.22.3-1].
Automatic commit of package [openshift-origin-msg-node-mcollective] release [1.21.3-1].
Automatic commit of package [openshift-origin-cartridge-python] release [1.22.2-1].
Automatic commit of package [rubygem-openshift-origin-controller] release [1.22.4-1].
Automatic commit of package [rubygem-openshift-origin-console] release [1.22.4-1].
Automatic commit of package [openshift-origin-node-proxy] release [1.21.3-1].
Automatic commit of package [openshift-origin-cartridge-dependencies] release [1.22.2-1].
Automatic commit of package [rubygem-openshift-origin-common] release [1.21.4-1].
Automatic commit of package [openshift-origin-broker-util] release [1.22.4-1].
Automatic commit of package [openshift-origin-cartridge-10gen-mms-agent] release [1.31.4-1].
Automatic commit of package [openshift-origin-node-util] release [1.21.4-1].