Fix loading settings in production

The Setting subclasses are not preloaded in initialization phase in
production. Also, mentioning the classes instead of require_dependency
is probably a bit better due to development mode: I've experienced
some difference in development mode, where require_dependency caused
some memory leaks.

Also (if Setting.first rescue (false)) is not satisfied when the
settings are not set yet. Using table_exists? instead.