Some restructuring and formatting.

I've added references to the CLIPS Basic Programming Guide for
each of the functions.