More than 6 million Australians experience migraines. Knowing how they develop could help you or your loved ones manage the worst symptoms.