Add Set exponentiation API tests
Allow Sets as arguments to Dat and Sparsity constructors

A Set passed in where a DataSet is expected is converted into a
DataSet with dim == 1.