hotfix(core) assign node.Resolver = path.Resolver

discovered by @mappum and applied at https://github.com/jbenet/go-ipfs/commit/414e20b71e50b65e40883f3ac85f91aa81c1e486

fixing here to address #233

https://github.com/jbenet/go-ipfs/issues/233
style(cmd/ipfs/pprof) move defer close to initialization
feat(cmd/ipfs1) add mem profiling in debug mode

TODO add memory profiling to ipfs2