Basic model scopes

Probably will get considerably more complicated once compound keys are in play
Merge pull request #18 from cequel/simple_scopes

Basic model scopes