Use getFromKeyFields instead of getForFields where possible
Use getFromKeyFields instead of getForFields where possible

Lookup by key_name is a lot faster than doing a query, so if possible
the use of getFromKeyFields is preferred over getForFields.

Patch by: Sverre Rabbelier

--HG--
extra : convert_revision : svn%3A32761e7d-7263-4528-b7be-7235b26367ec/trunk%402681

SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange