Add framework for standard curves.

The basic field implementation based on Data.Modular is not very
efficient. These basic definitions should be replaced with specialized
fields that allow for fast arithmetic, similar to OpenSSL.
Merge branch 'master' of github.com:bazad/ec