Majorities favor a nationwide ban on military-style, rapid-fire weapons and limits on gun violence depicted in video games, movies and TV shows.