add config table to database and populate it

* Use config table site_type parameter to avoid publishing unimplemented buttons in response to get_all_button_names() when the site is production
* Fixes #600
* Jenkins: http://jenkins.buttonweavers.com:8080/job/buttonmen-cgolubi1/177/
* Includes a database update