Added support for cancelUrl
Allow pagination to be json encoded
Added option to force the count of a paginated list