add support for data retention in REST API
Merge pull request #90 from rhq-project/rest-data-retention

add support for data retention in REST API