support for twbs3.0 pagination structure

The new pagination structure places the `pagination` class on the `<ul>` directly rather than on the surrounding `<div>`.
I wanted to keep compatibility with twbs 2.3.2 so instead of changing the original files I simply created a copy of them and changed the class definition in the new files.