Implemented the New Order transaction in a single SQL command.

The SQL language function process_new_order() is complete implementation
of Clause 2.4.2 of the TPC-C specification.

Also fixed a widespread typo; renamed many instances of d_next_oid to
d_next_o_id.