Fix DocumentInputFormat. add empty kmeans train. add DocuemtnFabric for
Documents.