Make some sorely needed changes to the SQL schema, and update the code
-rw-r--r-- 63 .bzrignore
drwxr-xr-x - doc
drwxr-xr-x - files
drwxr-xr-x - perl
drwxr-xr-x - sql
drwxr-xr-x - templates