Implemented the linear ranker

1. Implemented the linear ranker naively for now.
2. Sort scored document in the handler instead of in the ranker.
Merge pull request #8 from relentlesscoder/feature-linear_ranker

Implemented the linear ranker