Merge pull request #8 from kiang/master

Resolved issue #6
Merge pull request #9 from kiang/master

fix a number bug in pager partial
change to bootstrap style pager
merged from upstream