Re-organized pagination code to support user-defined class names

1. Separated the container mixin from the pagination mixin
2. Decoupled class names from the style