Allow the action to be specified for g.paginate when using URL mappings

If using a URL mapping that requires an action, such as "/page/$id/$action", then the action can never be set
when using the pagination taglib, as it skips checking the action when the url mapping is specified.

For more info see http://jira.grails.org/browse/GRAILS-9304