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

some small fixes and adding SECcurve
should I add `<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman" />` to `phpcs.xml`, that seems to do the proper check and doesn't seem to fail on the current codebase