Add new SHA1 and SHA256 instructions to integrate assembler.

These instruction were added to the latest Intel CPUs. core.cpuid
is already able to detect presence of these instructions.
add checking for error states
Merge pull request #2564 from redstar/sha

Add new SHA1 and SHA256 instructions to integrate assembler.
switch to lazy evaluation of enum properties
Merge pull request #2560 from WalterBright/lazy-enum-props

switch to lazy evaluation of enum properties
fix Issue 9571 - link error due to using unique ids in anonymous funcliteral
Merge pull request #2566 from 9rnsr/fix9571

Issue 9571 - link error due to using unique ids in anonymous funcliteral
Merge pull request #2565 from WalterBright/traits-compile

add checking for error states