Added Version table to the database, to keep track of which scripts has been run
Fixed a bug in the Object_Metadata_Join create script