Added tests for issue #18.
Merged in develop branch.
Added tests for associative arrays.
Added static function to determine whether we're deadling with an associative array or not.
Expanded _encode_request to take into account lists.
General code and comment cleanup.
Added paragraph about list vs hash detection.
Merged in fix-18.