(CFACT-50) Resolve review comments.

Make move constructor/assignment explicitly defined in all compilers.
Move definitions to the source files so we can use forward-declaration
with YAML and RE2.