Remove Tool Content was trying to remove the submission details based on the tool content id. But the submission details are based on the tool session id, so changed the remove code to remove the submission details as part of remove tool session, not remove tool content.
Also fixed remove tool content so that it will remove the related tool sessions if required, and to stop it throwing an exception if no data is found (as per the interface definition).