Plug-in device to front USB computer *sometimes* restarts
Solution 1:
I've seen this before, and the end result was a faulty USB port.
When you plugged something in it would do exactly what you are describing. It definitely makes me think faulty port in this case, since you said sometimes when you touch it the PC will restart.
Luckily for us the laptop in question was still under warranty - I would ask if this PC is still under warranty, but the things you have done to it make me think not.
You might just want to just check the cables are properly pushed in at both end of the USB port, however in your case I wouldn't get your hopes up.
Solution 2:
I'm also having this issue with the front USB ports on my antec 1200 case, so I'm going to throw my guess in and say it's faulty wiring/grounding on the front panel. If your problem is with your front panel, try the back panel. If the problem stops, you need to open your case and make sure the front panel is connected properly. Although it may just be faulty.