Added Galaxy library set permissions & caught another connection exception.

Note: the set_library_permissions method requires a patch that I have submitted to galaxy-central.  It was clobbering the util package import and getting an exception when trying to use the API.