Should I ask my advisor to please pretend that he is happy with me until the end of my contract?
I would ask for a meeting, but not for the reason you suggest. You may be misinterpreting messages. I'd ask him if he was pleased or not with your work and what you can do to improve it in his opinion. If it seems like a good idea when you are having such a conversation mention that you think he is displeased and don't understand why. 

Don't overthink that they laughed at your comment. It was a somewhat strange thing to say even if you were panicked. 

And you should certainly talk to a personal health counselor about your emotional state. That isn't healthy, but professionals can help you deal with it.