Select Attributes widget now works with SqlTable
Base64 encode pickled settings when saving schema.

If settings cannot be encoded as text, they are pickled. Pickle returns
bytes object, which cannot be stored in xml, so we base64 encode it.