Bug 994419
Bug 997848 - Inherited capabilities not in REST API

With the changes to use CapabilityProxy, the default API serialization (Rails) was serializing the user's underlying attribute from Mongoid, not the proxy overlay of inherited capabilities.  Changed to use serializable_hash which uses the proper values
Merge pull request #3418 from lnader/master

Merged by openshift-bot
Merge pull request #3435 from smarterclayton/bug_997848_capabilities_not_shown_via_api

Merged by openshift-bot
Automatic commit of package [openshift-origin-cartridge-jbossews] release [0.8.4-1].
Automatic commit of package [rubygem-openshift-origin-msg-broker-mcollective] release [1.13.4-1].
Automatic commit of package [rubygem-openshift-origin-node] release [1.13.8-1].
Automatic commit of package [openshift-origin-cartridge-haproxy] release [0.8.5-1].
Automatic commit of package [openshift-origin-broker-util] release [1.13.7-1].
Automatic commit of package [rubygem-openshift-origin-common] release [1.13.5-1].
Automatic commit of package [openshift-origin-cartridge-postgresql] release [0.6.4-1].
Automatic commit of package [openshift-origin-cartridge-jbossas] release [1.6.4-1].
Automatic commit of package [openshift-origin-cartridge-php] release [0.8.5-1].
Automatic commit of package [rubygem-openshift-origin-admin-console] release [0.1.2-1].
Automatic commit of package [openshift-origin-node-util] release [1.13.7-1].
Automatic commit of package [openshift-origin-cartridge-perl] release [0.8.5-1].
Automatic commit of package [openshift-origin-cartridge-python] release [0.8.5-1].
Automatic commit of package [rubygem-openshift-origin-controller] release [1.13.6-1].
Automatic commit of package [rubygem-openshift-origin-console] release [1.13.5-1].
Automatic commit of package [openshift-origin-cartridge-jbosseap] release [2.7.4-1].