Support for structs in document fields
Test to verify fields in a document can be extracted from a struct
Addition of getConnection() method and ES_HOST/ES_PORT env vars in example_test.go
gofmt pass
Merge pull request #14 from acasas/fields_struct

Support for passing a struct to a document instead of map[string]interface{}