This only works for a specific whitelist of error types, which is currently all errors in the storagedriver package. Also improves storagedriver tests to enforce proper error types are returned
Changes some names to match go conventions Comments all exported methods Removes dot imports