Added DB::set

Adds a helper for generating sets from an array of values.