Add feature specs for various deprecated states

Whether deprecated w/ a replacement or when a replacement is deleted, the
content about the deprecation changes. This add specs about what is expected to
be displayed and what is not expected to be displayed.
Simplify the cookbook deprecated state view logic.