Added scopes for user preferences.

Unsure of performance improvements.
Merge pull request #115 from tmcyf/model-scopes

Added scopes for user preferences.