avoid libcairo missing header problem
Merge pull request #1517 from mwieder/fix_valgrind_path

[[ Cleanup ]] Linux: Add valgrind headers in thirdparty to common include path.
libfoundation: Add MCRecordEncodeAsArray() and MCRecordDecodeFromArray().
libfoundation: Validate field name list when creating MCRecordTypeInfo.

The field names need to be caselessly distinct!
Merge pull request #1519 from peter-b/misc-records

libfoundation: Further work on records API.