Better handling of the search form.

* Stop codes are now passed as an array instead of individually.
* Form data is passed via jquery serialize() instead of manually building the http query string.
* Form validation and default values are handled differently (better?), default values through the function now.
* Cleanup of js and php code.
Json decoding will be done by jquery in $.ajax().
Both search duration & number of results aren't needed.