Make tablespace selection configurable

The config value is a Clojure expression which must return either a valid
postgres tablespace-name or `nil'.  It is passed the name of a table which
it can hash if it likes, or ignore.