resolving some issues so that Bitcoin-lib-php can use phpecc as a dependancy

some small fixes and adding SECcurve
seems there's another PR https://github.com/mdanter/phpecc/pull/12 that contains the same curves and isn't the same code, we could use that instead?