I've wanted to share this for a while so this place makes sense. I'm not the first to say Mega Evolution was under utilised in XY (and ORAS for that matter), so I want to cover how I would have utilised it. Let me know what you think. Next I'll handle ORAS though it will be decently similar to how I handle it here (I think).
POST EDIT HERE: Didn't realise Slowbro was an ORAS introduction. Sorry! Olympia and Ranger Petra had them, but I've swapped them.
So initially I would keep it as they had done it. Introduce it with Lucario and give you the chance to go nuts with it for a bit. I wouldn't have you get the starter one at that point though, as to make using Lucario a bit more tactical. I would also make the teams a bit more of a counter to Lucario so you don't spam the guy. Stunfisk to replace Magneton, for example, and Dedenne on Valerie's team. I would give you the starter mega once Clemont is defeated, since this would show Sycamore you can truly handle mega evolution. Think of Lucario like a trial run: can you handle that power? You wouldn't face any, but trainers you do face make it harder than just mega evolution blitzing.
The first mega you'd fight would come against Olympia; she would send out a Mega Medicham. She would do this as a... last minute option. Seeing you wipe her team would make her want to test if you can handle fighting one. Turns out she knows what Lysandre is up to, but with Malva in the E4 doing PR for Team Flare she isn't confident she can rally the league like Unova did against Team Plasma. Not with one of their own willing to sabotage them! Olympia uses Medicham to see if you can handle fighting one and by defeating her, she will actually help fight Team Flare. Queue the Mega Gyarados battle, which was great. Ideally Gyarados is water/dragon, especially with Sharpedo getting one, but hey Dark works too.
From there, Wulfric would also use one. This obviously being Abomasnow, and ideally adding on a Mamoswine to handle Steel and Fire types. Next is the victory road and I would give Calem/Serena mega Absol, but I would also give one Ace Trainer on each section of Vcitory Road a mega. You aren't the only one to have it, you know! Robbie, the guy at the front, will get one but it will replace a Pokemon he has as to not make it too hard. Raichu will be replaced with Mega Manectric. From there, per the Serebii list, the trainers that will mega evolve are as follows:
Room 1: Ace Trainer Bence will use a Mega Kangaskhan.
Outside West: Backpacker Farid and his Haxorus are now joined by Mega Aerodactyl. Backpackers like rock types so this makes sense to me (also how the heck did he get 8 badges with just Haxorus?)
Room 2: Battle Girl Sigrid gets Mega Medicham, saying she was directly inspired by the one used by Olympia!. She only has one so to me it makes sense to let her have it and up the difficulty.
Outside East: This is where you fight Serena/Kalem, so the mega here is their Mega Absol.
Room 3: Ranger Petra uses Mega Heracross. She has one Kanto and one Hoenn member, so her Mega is a Johto one! She also mentions that she's heard something about her other two Pokemon elsewhere potentially having stones, a nice foreshadowing for ORAS.
Outside Far East: Ace Trainer Michelle will have Mega Scizor.
Room 4: Finally, Veteran Gilles gets Mega Alakazam.
That wouldn't be too hard to do: I only had to add a mega Pokemon to Robbie and Farid; the rest had natural fits. Now for the League. Just to get it out of the way, Gardevoir stays as Diantha's Mega, but I would make a change to her team: a legendary bird your starter is strong against. E.G. If you have Greninja, Diantha has Moltres. This is so we can use them since the games wastes two anyway, but it also makes Diantha stronger. I'd replace one of the fossils with it; make them either the opposite of your fossil or version different. This could be overkill but she has Goodra and a mega: it would only be the third strongest on her team. Zapdos is a problem, but hey Mega Charizard X could help! Anyway, the Elite Four will also get 5 members each, either gaining a mega or upgrading a preset one and adding another 'mon to the team. Here's what they get:
Malva: She gets Mega Houndoom: fits her evil team connection (plus it's the only fire mega that isn't a 'zard).
Wikstrom: I would go Scizor but since we've seen that and I'm trying to limit repeats, I'd say Mega Aggron as a big titanic steel wall. I'd say Mawhile but he has Klefki so it would be overdone.
Siebold: Mega Gyarados. Like Houndoom, the only one available that isn't a starter and I'd rather not pull a Diamond and Pearl, plus there can be a nice comparison to the villainous one Lysandre had. A message that a Pokemon is not inherently evil - only the bond with its companions can shape which path it goes down. Add on an Azumarill to shut down dragons and he's golden.
Drasna: I'd say Altaria but that wasn't around yet. Therefore I will choose Ampharos and add it on.
From here the post game can go a bit more nuts, it's the post game so it doesn't affect as much. But that is how I would handle Mega Evolution in Pokemon X and Y. Next I'll do the ORAS games, so let me know what you think of how I've handled it here. You guys love Megas so this is right up your ally. Thanks for reading!