MOVEONLY: Separate CTransaction and dependencies from core

The main goal is to separate minimal core dependencies for script/interpreter. CFeeRate shouldn't be there, but that won't be move only. 
This should help with #4692 and it's related to #4981 among other PRs
Nit: Rename and edit end comment?