Updated property Castle resolution

fixes #2566
Using a custom dependency for property registration to avoid internal
exception when resolving properties. copy of
https://github.com/Particular/NServiceBus/commit/64d9654828e9ed8c83f45bec94315233f67b0da6