Well, 9 pages of responses but what the heck. Why not add one more! With the exception of the Z750, all of the bikes you listed are in the same realm as far as performance, reliability, and cost are concerned. Depending on the year, most have versions available well under your $5k price cap. If you take the time to search out the right one, you will find a very well cared for example with one or two owners and it may even be well farkled, bonus! If it were me, I the Vstrom and the Bandit would top my lists. I have owned a Bandit 600 and was very happy with it for almost a decade. I only swapped it out because I had the means to, not because I was unhappy with it. They are comfortable and good all around bikes that can easily tour. I nearly bought a Vstrom the last time I was in the market for a bike and would be very happy to own one. The tall seat height would be nice around town to give you a better view of the traffic around you and their comfort and reliability are legendary. Very easy bike to tour on too.
None of the bikes you listed will do ALL of the things you listed very well. All will do well as commuters and for riding around town. The Vstrom, Versys and Bandit will do better for the touring end of things while the Z750, Ninja 650 etc will do better for track days (although still won't wow you on a track with their stock suspensions).
One other option to give a serious look at that others have mentioned is the CB500x. It gives you more oomph that a 300 but not as much as a 600. While the lesser power may not be as exciting, the insurance price may be enough of a difference to make you not care. They are very capable bikes and excel at commuting and light to moderate touring.