added isType method for order class to check orderType of order against specified order

Solution for TRUNK-4290