Who wrote, directed, and starred in the films "Ted" (2012), its sequel "Ted 2", and revived "Family Guy" by writing the first episode of the fourth season after its cancellation in 2002?