A legal challenge to try to prevent Boris Johnson shutting down parliament to force through a no-deal Brexit has begun in a Scottish court.