Added BuildTable function to database

BuildTable draws the data from the database into arrays, then adds rows
to the 'model' then returned and used by JTable.

This causes problems with the theOrder stuff, the recipt doesn't get
made properly