added widget support
cleaned up test codes
Merge pull request #16 from hugozhu/master

added widget support (tested with google-pretty) for posts paginator