Make gravatar stubable, remove nodefn for http.get

Move gravatar lookup onto UserModel, stub gravatarLookup in tests and
use when deffered instead of nodefn