The modern marshmallow confection is a mid-19th century French invention and was a cross between medicinal lozenge and bonbon