Bad Relationship with Master's Supervisor: Missing Reference
I was in a similar situation last semester. My advisor had me join a research project, but gave me little to no information regarding said project. He told me that I would be working with honeypots, and it wasn't until my first day that I realized he meant honeypots in the cybersecurity sense and not literal honeypots. Although I was relieved to find out that I wouldn't have any bee stings from my research I could tell that I wasn't going to get any help from my advisor. In fact, he was away attending conferences for most of the semester, and rarely responded to any of my emails. 

Here's what worked for me that I think will help you. You need to post up outside your advisor's office. When he finally comes in, you need to talk to him about how you're feeling and your current situation. I don't want to say confront him because I think that's too strong of a word, but he needs to know that he is not pulling his end of the bargain. Or, if you can't switch advisors, just ask him if there is anyone other resource that you can talk to, to gain more knowledge about the project (but on the low make this your "advisor"). 

As for the references, I would talk to the other people that you are collaborating with. See if they can help you with a reference letter. Or try to find other people who have worked with your advisor and see what they have done. I hope this helps and wish you well on your future endeavors.