DELTASPIKE-398 add handling for @Dependent scoped beans.

This is important as we need a way to properly destroy them.