[MRG] sqnorm helper for fast squared norm

@ogrisel and @GaelVaroquaux already approved the idea, but this time I think I got the implementation right too. This might be useful in more places than where it's currently used.