Renaming; bugfix; better testing

- Rename methods to encode/decode
- Fix bug where decoding a query string with a trailing ampersand
creates an extra pair `'': undefined`
- Add encoding tests
- Add more decoding tests
- Switch test framework to QUnit
- Remove minified version.