Convert various classes into context managers

This converts several classes into context managers (see issue #38):

* `SFTPClient`
* `Channel`
* `Transport`
* `ProxyCommand`
* `BufferedFile`
* `SFTPHandle`
* `SSHClient`

Tests have been added where doing so was straightforward, but the implementation is sufficiently straightforward that I think there's relatively little risk.