Made memcache key better for pagination.
Cleaned up code a little.
Merge branch 'master' into pagination
Made memcached key better.
Merge pull request #161 from Cal-CS-61A-Staff/pagination

Pagination