Passing provider to lookupAdapter in session#close, and passing options to adapter

This fixes session#close so that custom adapters will no longer cause a "not implemented" exception.
@mixonic I get this error when I do that:

Cannot re-register: `torii-adapter:application`, as it has already been looked up.

Is there a way around this? Thanks