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

some small fixes and adding SECcurve
I'm more worried now by it's license. Being GPL it makes it pretty much incompatible with being used in a library. I've commented on the thread to ask him to consider relicensing to LGPL.