Pinterest is looking to improve search and discovery on its website and mobile apps with the acquisition of a company called VisualGraph.