Added tests and fixed a few bugs.

- Split out the tests into unit/integration tests.
- Extended tests to cover the configuration API and results callback
  API.
- Fixed the olympic scoring option
- Fixed the ability to pass non-numeric options through to the adapter.

Fixes #4.