Move settings model to lib.

For some reason, if you want the Settings class to be visible in
initializers, it has to live in lib, not app/models.  Makes no sense
to me, but whatever.