prepare for 7.4.2 release
Added header in typedefs.h needed for building on ehel 5
Merge branch 'v7-stable-hidden' into v7-stable
doc: mention imported build patch for CENTOS5
doc: mention that omelasticsearch bug requires custom config to be triggered

This means the majority of users is not affected at all.
minor code reduction