BARCELONA, Spain (Reuters) - Thousands of protesters gathered outside a Barcelona court on Monday as the former head of the eastern Spanish region of Catalonia went on trial for staging a 2014 informal referendum on independence in breach of a legal order.