paginate_resource accepts custom args; clean up option parsing