A high turnout and a result that looks like it will be too close to call: millions of Catalans have been going to the polls to elect a new regional government in a hotly contested race between parties which want Catalonia to go its own way – and those which want to keep it part of Spain.