Rescue from non-numeric page parameter exceptions

will_paginate intentionally throws an ArgumentError when a non-numeric page
parameter is used. Conveniently, they tag it with WillPaginate::InvalidPage,
so here we rescue with a 404.
Merge branch 'issues/1346-pagination-params-error' into rails-3-develop