Feature/browser support

This fixs some issues then using soop in bitcore browser version.  There was a bug in the prelude in case of circular dependencies.