Thousands of migrants have streamed into Europe via a tiny Spanish enclave in recent days, prompting calls for a national emergency.