Implement statejoin & fix related bugs
Merge pull request #43 from c00w/join

Implement statejoin & fix related bugs
Merge branch 'master' of https://github.com/Siacoin/Sia