A young woman who placed anti-war messages in a Saint Petersburg, Russia, supermarket has been sentenced to seven years in prison.