I found it unexpected meer than confusing. So i think House will be in prison in season 8 premiere,he can't take vicodin so he starts detoxing which makes him cranky and in agony,so he starts arguing with prisoners in his cell,and some big guy will beat him eventually. And after a while in prison,someone is sick and needs House's help,so he quit the prison as a price for his help and curing the sick important person. And he starts picking up the pieces of his life.
It's true that season 7 was very confusing,What is House doing on this beach? It's really weird. Well, maybe he was truly in a bar like Wilson zei and he had drunk too much and used to much drugs so he had done an overdose and so that's why he was hallucinating he was on that beach. Yes, I know my theory is relly weird :)