Delete other order stuff before deleting current order - TRUNK-3289

TRUNK-3289a

TRUNK-3289a -- change OrderServiceTest

TRUNK-3289 new method and test - deleteObsThatReference

TRUNK-3289 Remove comments

Removed debug code, added javadoc

TRUNK-3289 cleanup code

TRUNK-3289 remove unneccessary code

Cleaned up the query that  deletes related obs - TRUNK-3289