Settings: Cache whether settings table exists

Before, ActiveRecord executed a SQL query to check whether the table exists on each settings access.
Merge pull request #626 from opf/fix/settings_performance

Settings: Cache whether settings table exists