According to David Crystal's Cambridge Encyclopedia of the English Language the period inside the quotes convention was due to a physical limitation of the line of type. The period would get broken off or something like that were it outside the quotes. The comma before the quoted material may seem extraneous to some; I have tried it both ways and leaving it out looks a little empty to me.