Implement .serializeArray()

jQuery compatible .serializeArray() implementation (http://api.jquery.com/serializeArray/) + test cases. Doesn't handle multiple file selections yet.