I've heard that a higher end Epi can be better than a lower end Gibson.
Not in my experience. I've played some high-end Epis...Slash Les Paul, LP Ultra II and III, Ultra 339...and I wouldn't buy any of them over a decent LP Faded series.
Resale values are better with Gibson, but I plan on keeping it for a good long while. Either way I will go and do a side by side by side comparison.
If you're looking for a lot of bang for the buck, check out the PRS SE series guitars. They're some of the best imports out there.
And if you have a Godin dealer nearby, you HAVE to check out their electrics. I've owned and still own a couple Godin guitars and they are, to me, the best kept secret in the electric guitar market, bar none.