Client shutdown cluster (#1051)
Client shutdown cluster (#1051)

* fixed publist_delete : publish_delete typo in client.py

* added tests to check sync method of client unpublish_dataset, added dev-requirements.txt

* reraise original attributeerror and keyerror

* including possibility for attributeerror on FutureState

* updated tests for gather reraising type and attribute errors

* moved cluster close to top of client shutdown, and turned off all_fds to suppress tornado output errors

* Update client.py

* only shut down Client.cluster if we created it

blaze/distributed,mrocklin/distributed,dask/distributed,blaze/distributed,mrocklin/distributed,mrocklin/distributed,dask/distributed,dask/distributed,dask/distributed