features: rework feature test macros
cmake: added optional hardening support
cmake: additional compiler warnings
stress: make local functions static
blob: make local functions static
cmake: added clang sanitizers
cmake: added modeline

Also cleaned up commented code
cache: use memmove for overlpping ranges