Ipns name resolution

This branch is not yet complete, but before i move forward, the name resolution code (in namesys) needs some critiquing. There are also a decent number of bugfixes in this branch that i ran into while trying to get the code to a point where i could test ipns.
I dont think 1 is a good solution, most of the time i see these sorts of things, occur its a cluster of a large number of file creations, writes, and removals. sometimes up to 20 operations all in a very short time span.