TRUNK-4464: java.lang.NullPointerException when starting a scheduled task
Merge pull request #1150 from rpuzdrowski/TRUNK-4464

TRUNK-4464: java.lang.NullPointerException when starting a scheduled task
Order.isDiscontinued and Order.isCurrent should be consistent with OrderService.getActiveOrders - TRUNK-4525
Added @since to new methods in Order - TRUNK-4525