Registering/installing the cartridges in the rpm %post

The v2 php cartridge already had this:
http://lists.openshift.redhat.com/openshift-archives/dev/2013-April/msg00051.html
Merge pull request #1974 from brenton/v2_post2

Registering/installing the cartridges in the rpm %post