PARIS – Fearful of an expanding extremist threat, countries that for years have relied heavily on U.S. intelligence are quickly building up their own capabilities with new technology, new laws and – in at least one case – a searing debate on how much the American government should be allowed to spy on their own citizens. Responding to a jihadi movement that is successfully recruiting people from around the world, France and Canada are both passing laws that would dramatically ramp up their surveillance apparatus.