adds and tests by_user scope for attendances
uses by_user scope in attendance list, styles attendance list
Merge branch 'egan'
adds a scope that's logical to have