Catalans are set to vote in a parliamentary election that will test the strength of feeling about independence.