Reuse variables in edwards; use shifts in core loops

This saves some redundant calculations in the core loops, with about an ~8% speedup according to @dstufft

Includes pyca/ed25519#7 commits for now.