Reorder of updating max_page, current_page

This commit changes the order in which we set current_page and max_page
to ensure we always set current_page first.

This will prevent the error:

    jqPagination: max_page lower than current_page

from occuring when we simultaneously update max_page and current_page
and max_page is less than the old current_page.


#### Steps to Reproduce in v1.3

```javascript
.jqPagination('option', {
    max_page: 6,
    current_page: 2,
    trigger: false
});

.jqPagination('option', {
    max_page: 11,
    current_page: 1,
    trigger: false
});
```