Add "traditional" jquery param serialization.
Also converted to jasmine tests, and added a test which covers fix.

fixes #7