PHPWS_DB
- addValue method added.
- insert and update methods added

Database.php
-  newDSN : $host parameter defaults to null and changes to localhost if null
- create phpWSDSNLoader. Reads a file for the old PHPWS_DSN formatted sentence and creates a DSN

DB.php
- comment clarifies getAllTables

DSN.php
- constructor's $host parameter defaults to null and changes to localhost if null

Datatype.php
- mysql_escape_string updated to mysql_real_escape_string

Serial.php
- Added constructor to force a null as the default (which prevents it from being included in the create query)

pgsql/Table.php
- Fixed addPrimaryIndexId()

PrimaryKey.php
- now forces creation of a primary key name if none supplied.

LegacyController swapped from THE THING!

index.php loads the database now.