Master order creation changed

-Master order will have lower orderID than the order containing
licenses.
-Invoice templates changed