fixes for powMod to handle negative base for ECC ed25519
fixes for powMod to handle negative base for ECC ed25519

mnaamani/crypto-emscripten,mnaamani/crypto-emscripten,mnaamani/crypto-emscripten,mnaamani/crypto-emscripten,mnaamani/crypto-emscripten