Node Platform - Add more checks for gear structure

* Check for cartridge idents and OPENSHIFT_PRIMARY_CARTRIDGE_DIR
Merge pull request #5022 from jwhonce/wip/oo-accept-node

Merged by openshift-bot