Implemented Order Status transaction profile, and other changes.

Changed the queries in PostgresDummy DB so that the queries can be
easily identified in pg_stat_acvtivity view.

Initial implementation of Hammer-mode.

Bug-fix: Assign payment.c_d_id in case of single warehouse.

Change Postgres type name from order_line_param to new_order_line_param,
to make it consistent with other type names.

In the same vein as above, change object name from OrderLine to
NewOrderLine.