JS API improvments.
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop