[WFLY-2520] Support for resource deprecation metadata