Compile time validation of MsgInfo_t layout.

Improved layout validation of MsgInfo_t and changed it to be at compile time.
Update crypto.cpp

Split a single static_assert into multiple static_asserts to compile-time diagnostics.
Merge pull request #67 from PowerGamer1/patch-2

Compile time validation of MsgInfo_t layout.