fix trie usage of sha3, add rootHash() and tests, and jshint fixes

some tests from pyethereum features/trie.feature