Shared ptr in Warehouses

Most of the Warehouses will be switched to shared_ptrs with this patch.

refs #3698