Answer:
1. The judge used his gavel to get the attention of the court.
2. I will pilfer your things if you fall asleep.
3. I declared my independence on my 18th birthday.
4. The criminal testifyed his claim.
5. I chose the pillow made with the fine material.
I believe you is the indirect object. Love and Affection completes the thought. You can be left out. I'll edit this later if I'm wrong.
A. is wrong because (could'nt) is not the proper way to write the contraction for 'could not' it should be 'couldn't', also there is no need for the apostrophe after the word, yours it already possessive without the apostrophe.
B. is wrong because 'couldnt' is not the correct way to write the contraction for 'could not', it's couldn't.
C. She couldn't remember which suitcase was your's. is wrong because you don't need the apostrophe in your's because it possessive is, yours.
The sentence that contains no errors is D. She couldn't remember which suitcase was yours.
Hope this helps. :)