Complete draft v4 syntax validation plus tests!

*Phew*. Now, a demo program, and 1.99.2.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>