Update schema: use smallint rather than serial

* explicitly create sequences
* change names of tstatus, ostatus, tcategory, ocategory
* drop functions before creating
* set min value of crew_person key to 0
* clean up
Also add ticket for oscar parser bug (duplicate worked_on insert)