Merge pull request #375 from subvertallchris/query

find_by and find_by!
first and last class methods