style(cmd/ipfs/pprof) move defer close to initialization
feat(cmd/ipfs1) add mem profiling in debug mode

TODO add memory profiling to ipfs2
Merge pull request #235 from jbenet/feat/mprof-in-cli-ipfs1-debug

perf(cmd/ipfs) write mprof file in debug mode
rewrite add command to use dagwriter, moved a pinner into the dagwriter for inline pinning
Address concerns in PR
fix tests (circular import)
blockservice: dont write blocks twice

If the datastore has a value for the key, we already have
the block. We should not write it again. This will make redundant
writes much faster.

At the moment, a datastore.Has on leveldb is a GetBackedHas.
Track https://github.com/jbenet/go-datastore/issues/6
blockservice: signal add optimization
test splitting is deterministic. (it is)
util: remove broken rand
util: cleaner ByteChanReader.Read
better test exercises saved buf
Merge pull request #237 from jbenet/dont-write-twice

blockservice: dont write blocks twice
perf(core/datastore) disable snappy compression
rm comments
remove comment
Merge pull request #240 from jbenet/perf/no-snappy-compression

perf(core/datastore) disable snappy compression
make vendor

cc @whyrusleeping
cmd/add: output file hash Fixed #239
fix bug where terminal would randomly become garbled binary crap