some refactoring before intersecting chains
initial cross chain detection
Merge branch 'master' of github.com:btmura/blockcillin

Conflicts:
	src/res/js/bc/chain.js