Pagination class: Retrieving LIMIT variables

I needed an easy way to calculate LIMIT offset and row count as need by ActiveRecord.

Here are two new functions (get_limit_offset and get_limit_count) integrated into the pagination library which return this informations.