Multiple improvements

* Save_var, get_var should cope with non-string values (convert to/from JSON)
* Allow block to be passed to #select
* Allow default table name to be set in config