Bug 964347 - Run cartridge scripts from cartridge home directory

* Refactored platform code to run cartridge scripts from cartridge home directory
* Added missing step in mongodb cucumber tests