Fix eckey_priv_encode()

Fix eckey_priv_encode to return an error on failure of i2d_ECPrivateKey.
Fix version documentation.

Specify -f is for compilation flags. Add -d to synopsis section.

Closes #77.
PKCS5_PBKDF2_HMAC documentation submitted by Jeffrey Walton
Fixed minor errors in docs