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.
@tv42 Are there any testing frameworks for bazils fuse library? Im gonna have to write a bunch of tests around this code to make sure everything is right, but having a generic 'fuse tester' to start with would make things a lot easier