Put pagination classes on containing LI element

Fix for issue #8: class on containing LI element instead of the SPAN.
Merge pull request #11 from pixeline/patch-1

Put pagination classes on containing LI element