Updates for Rails 3.1+

I'm still working on this, so don't accept yet, but these are the changes I'm making as I'm getting gridzilla to work with Rails 3.2.  I'll add a comment when I'm ready for this to get pulled in. There were some changes around getting WillPaginate3 working as well. I'm not 100% sure I'm doing the right thing to find paginated queries.