Like everone else has said,
1. (and most important) Don't look America or anything else that makes you stand out. The more you look the average French Joe the safer you will be.
2. If things get dicey, get inside!! Get in a store or resturant, and avoid bars. Most crowds will not fallow in doors as the confinded space breaks up the mob mentallity.
3. Always watch you surroundings, with the current riots in responce to France's new conservative Gov keep a specially sharp look out for groups of young males 15-30 as that is the most likely demographic to cause a confrontation.
4. If you find yourself in a riot, don't fight against the crowd it will make you stand out, go with the flow of the crowd and work to the edges to escape.
Good luck and try enjoy Paris