WIP Cartridge Refactor

* Add support for v1_cartridge_format/v2_cartridge_format markers in /var/lib/openshift/.settings
* Cleanup Sdk class
* Update application_container to read marker files
* Cleanup application container tests
Bug 912798
Merge pull request #1410 from danmcp/master

Bug 912798
Merge pull request #1408 from jwhonce/format_markers

Merged by openshift-bot
V2 WIP:

* Added application_repository.rb + tests
* Configure/deconfig WIP -- Tests having selinux issue running setup
* Add unit test for v2 model, minor cleanup
* Implement util cgroups methods
* Add comment for v2 destroy
* Mock cartridge WIP
* Fix private endpoint availability checks
WIP Cartridge Refactor

* Restore creating git directory
mock cart rpm changes
Use unversioned template for mock
rename mock template.git to template
WIP: mock cart cuke test
WIP: make jhonce happy
WIP Cartridge Refactor -- coverage_helper

* Add sticky bit to test/coverage directory to avoid issues with oo_spawn tests
* Add NodeLogger
WIP: mock.feature
WIP: mock cuke test

Get marker steps working
Add steps for dynamically rendered env entries
Fix unlock gear
WIP Cartridge Refactor

* Removed unused code
Flesh out mock.feature
Add checks for default env vars to mock.feature
add private endpoints to mock.feature
Add start/stop/status/restart to mock.feature
WIP Cartridge Refactor - use marker files for v1 vs. v2 formated cartridges

* Cleanup Sdk class
* Update application_container to read marker files

Conflicts:
	node/lib/openshift-origin-node/model/application_container.rb
	node/lib/openshift-origin-node/utils/sdk.rb