I am no expert here so I hope someone else with more experience will answer but I can only tell you what happened with me and my husband. when my husband and I married, he too was a refugee claimant, that claim was denied but we never bothered to worry about it because we figured that my sponsorship of him would allow him to stay here anyway (it did. However, while he had a work permit when he was a refugee claimant, once that claim was denied, he lost his work permit and he was not allowed to work because my sponsorship of him had not even been looked at. So just be aware, if you withdraw your refugee claim, you may lose your work permit and then hang in limbo waiting for you PR applicaiton to be approved in principal. During that time, you cannot leave. If you leave, you run the risk of not being allowed back in and besides your PR applicaiton may be dropped too. Then you will have to do the claim all over from overseas.
I am guessing you were a refugee claimant when you got married. Truthfully my guess is that that will look "funny" to CIC. It's going to look like you were trying whatever way you could to stay in the country and that will no doubt delay your approval. In some ways, you might be better off to go back home, finish your studies, and have your wife apply for you from overseas. It actually might be faster. No matter what you do: keep all documentation showing your relationship is genuine (phone records, joint back accounts, joint insurance etc).
Good luck