LB-1500 Minor fixes to pagination.

Fixed button-pagination.js to add class to the correct item.
Embed code now takes also the limit.
Pagination nex offext should be current offest plus limit.