add memmem function (gnu extension)

based on strstr. passes gnulib tests and a few quick checks of my own.
2 files changed