Allow per_page to set the page size as well as return it.

This is to match will_paginate's per_page method behaviour.
3.0.2