Added support Twitter Bootstrap in pagination + Fixed tests.