more work on ravendb/autofac integration