fixes #44. Make the ddoc and dbname available to the select2 for app settings