"Lucifer" star Tom Ellis and his screenwriter wife, Meaghan Oppenheimer, got a devil of a scare in the mail ... cops are investigating a strange package sent to the couple. Law enforcement sources tell TMZ ... someone sent a glitter package last…