Fixing Compiler Error C2466
Remove unused function StackString() and class CCoins;
Discover some missing includes
Merge pull request #4810

c0f5d4a Fixing Compiler Error C2466 (ENikS)
Merge pull request #4812

53efb09 Discover some missing includes (jtimon)
8d5e510 Remove unused function StackString() and class CCoins; (jtimon)
Add warnings for autogen.sh. Fix AC_CONFIG_SRCDIR.
Update obsolete AC macros.