Add a compilation script

This compiles all the server side definitions in
the definitions folder into individual JavaScript files
that can be included in web pages.

Each definition represents a library built from the
available classes.