Issue #1274674 by karschsp, pgrond, mdupont, aroq: Added static caching to taxonomy_vocabulary_get_names().