Made previousOrder optional for DC orders
Improved javadocs for OrderService.getDiscontinuationOrder and getRevisionOrder

Fixed typo in update scripts

Apply auto format changes