-Modified AJAX paging, it's now in the same function than the non-AJAX one.
-Added infinite scroll to the AJAX paging.
-Added config settings to enable each of these paging modes.