Replace all tabs with 4 spaces
Create new directory structure

The following directory structure is used:
 - http/  Files accessible by web server: JS, CSS, index.php, gl3.xml
 - lib/   Class files, included by other files
 - tools/ Tools to be run on the command line

All include files have had the .inc.php suffix dropped for just .php