Refresh sort type on .sort .active click

This also prevents the default action of changing pages, like clicking
“Top” when looking at hourly top (which would usually redirect the user
to /top/week).
Change file structure to lose the lib/lib nonsense
Bump version
Merge pull request #145 from christianbundy/fix-upstream

Add refresh option and bump version