Snapchat is adding new features meant to discourage teens from interacting with strangers on its app.