Document state machine

Added defines to make the code more readable, added documentation to
show what was driven by each state
Improved self-documentation

Changed the way ST_ defines are shown to better match the intent.
Parameterized the size of cog ram.

This will make it easier to customize cog ram size.
Initial TimeQuest SDC file for DE0-Nano