Split the types and attributes reference doc into two docs

Also moved them up in the index so that the more fundamental material
comes before the more advanced material in the table of contents.
Add more script language reference documentation

Added new sections on operators, statements, and directives.  Also
improved the documentation on types and attributes by providing more
examples and added a chart on the top of each page with links to
each type and attribute for easier access to the information.