Added a method for specifying a metadata query parameter, and expanded the method that adds images to also add metadata is specified. Also added a feature file for the metadata query.