Your only option will be to get an M.P. to help you. I spoke with an immigration lawyer in my case, and she showed me case law of previous applicants who tried to fight the ruling in court of appeal, and judge sided with CIC. It's all based on legal status as a disabled person, not on medical status. The only way you could overturn that is to appeal to the Supreme Court of Canada at this point. It doesn't matter if you suffered from mental illness for the last 10 years, if you only got legal status for it through Ontario recently, that is all they will awknowledge. You might have a better chance contacting a legal association that helps people with disability law, than contacting an immigration lawyer, as they will have better understanding of disability related cases, humanitarian applications, etc.
In my case, we asked for CIC to return the documents from our previous application, and they refused. So we spent nearly $1,000 and 4 months just to obtain another copy of the police background check, translating it to English, etc. And I spent over 60 hours putting together a new package, filling out forms, annotating documents, it was a nightmare. Total costs were around $2,000 again. But we managed to send the application a few weeks ago, including for an open work permit. Hopefully we don't have any trouble this time.
This is all the fault of CIC for making it take 2+ years to process a few pieces of paper. I think they purposely make the wait this long so they can reject as many applicants as possible. I absolutely hate Canada's immigration process, and hope that the entire organization is audited for destroying lives of Canadian citizens.