Go for the i5 7400 + gtx 1070. The higher GPU would have noticeable performance jump/increase than the almost identical/equally-powerful i5's.
Recommended wattage for the PSU for a rig built around a GTX 1070 is 500W (http://www.realhardtechx.com/index_archivos/Page362.htm)