Added API generation and Yaml testing for 1.x and 1.0 branches of elasticsearch.