changes in sort and search rules, add cache, stub for popular
Merge pull request #83 from BrandyMint/17_09_update

changes in sort and search rules, add cache, stub for popular