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.
Thanks! I tried doing what you suggested but tests were still failing because of that exception.  I wrestled with qunit's 'throws' for a while before coming up with the solution of just completely overriding #close on the adapter to return a simple promise. What do you think?