Add "dynamic.h" providing prototypes for internals

We need some functions exposed in modules, but they aren't
in any existing headers.

Instead of adding them to headers, we just create a new header
and add anything to it we need specifically for modules that
Redis itself doesn't necessarily need for compilation.