Fixed ProfiledDbProviderFactory

As far as I can see through attempting to use the ProfiledDbProviderFactory class, it is broken. I don't think we should specify the profiler in the construction of the factory as surely that means we always use the same one?

Suggested resolution is to resolve it as and when required.