Refactored out LogicElement
Added logic modules for Vertex and Hint fixes #20

The game now synchronously checks logic.
Needed to add reset logic, which fixes UI between levels, and also fixes
broken hints that stayed active too long.