Better errors on unexpected bencode data

Also fix indent.
Allow calling findresource with custom path
Clean up our sessions
Convenience function for nrepl call

This is mainly for my own debugging, but might evolve in to a real API.
I'm not sure if it's the right place to do a require.