clear path cache after getting a proper config file (fixes #2605)

Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>

Conflicts:
	src/util.cpp
Adding new "addrlocal" field to RPC getpeerinfo.
The existing CNode::addrLocal member is revealed to the user,
as an address string, similar to the existing "addr" field.
Instead of showing garbage or empty string,
it simply will not appear in the output if local address not known yet.

Conflicts:
	src/rpcnet.cpp
Always print full hashes (tx, block, inv)

Conflicts:
	src/main.cpp
Created core.h/core.cpp, added to makefiles. Started moving core structures from main to core beginning with COutPoint.

Conflicts:
	src/makefile.bsd
	src/makefile.osx