Refactor SearchCodeRequest to match the API

- [x] no longer subclass RequestParameters, but expose a Parameters property and build it up similar to how SearchRepositoriesRequest works
- [x] re-add the Sort property
- [x] add some tests

Fixes #275