cleaned up blockchain.js
fix CALLDATACOPY
fixed some bug in EXT* opcodes and tests