Clean list paging offset and limit values properly

The previous logic depended on the truth value of the arguments,
which resulted in calling int() on any object evaluating to True.
For instance, passing in a string that wasn't a number would result
in a ValueError.

Change-Id: I871a353b47a3c6c2dcd7d65ee365657435acf606