add functions to compress/uncompress ECC points.

I added two functions to compress and uncompress ECC points, so I can use compressed public keys in my project. There should be added more support for generic use I think, but for my use case it works.