No, they provided the referendum because their leadership thought that the split within the party on the issue (while the majority was against leaving, there was a substantial minority for it) would result in loss of vote share if the party was unambiguously for staying, so they promised a referendum to keep their internal coalition intact.
Sure, but the split I was talking about is in the party-in-the-electorate, not the party-in-government. It wasn't a technique to maintain party unity in the Parliament, but to avoid losing party of the electoral base for the 2015 general election.
> But I doubt that we would have been given a referendum without the increase in public support for UKIP.
Sure, but that wasn't the public demanding an isolated referendum on the issue; the referendum was just a Tory tactic for minimizing the controversy over EU policy as a general election issue for the set of voters that, their view on that issue aside, were generally aligned with the Tories.
The Tories wanted to remain in the EU, yet when the electoral commission recommended they change the wording of the question because it favoured staying in the EU, they obliged.
Personally, I still think the question was biased towards the status quo and should have been:
"Should the UK be a member of the European Union"
Rather than what it actually was:
"Should the United Kingdom remain a member of the European Union or leave the European Union?"
I wonder if the remain vote would have been even lower with a less bias question?
Referendum wording is generally heavily scrutinised. I'm sure if we had more regular referendums a process would be created to make sure it remained that way.