PARIS — France has declared what some are calling a war on terror in the wake of the attacks on the Charlie Hebdo magazine and Hyper Cacher market, and a number of the battles are expected to be waged online. France announced policies to prevent both cyberterrorism attacks by Islamist hacking groups and online recruitment by…