Dev mpm optimization v0.39

Remastered dev-mpm-optimization-v0.36

Passes PR scripts:
https://buildbot.openinfosecfoundation.org/builders/ken-tilera/builds/60
https://buildbot.openinfosecfoundation.org/builders/ken-tilera-pcap/builds/66

Passes unit tests on Tile-Gx.

Replaces PR: 1265