If Article 50 isn't signed by the Autumn then I believe snap elections in the second half of 2016 or early 2017 will occur with at least one of the major parties campaigning on a Remain platform.
In theory. In practice Westminster would have to override devolved powers given to the Scottish Parliament which is a huge "no no." At the moment, Scotland has an effective veto, just because Westminister can change devolved powers doesn't change that fact.
So, yes, Scotland has a veto on leaving the EU. It just isn't an iron-clad veto, but by effectively overriding Scotland on this one you're all but assuring Scottish independence.
The real question is if Westminister WANTS to leave? If not a Scottish veto might be the political "out" they need.