remove unnecessary gems, optimize sessions/artwork

Optimize signed_in? method by only hitting database if user has a
:remember_token and artworks index by using thumbnails.

Add some benchmark stuff to application.rb.