Get slice of set values

I'd like to be able to covert a Set to a slice after using some of the set functions in this package.  This PR adds a 'ToSlice' function to thread-safe and thread-unsafe sets.