This is about algorithms to achieve better results with a given sensor. The Nexus 5, like the various Nexii that came before, has a poor image sensor -- it's a $300 smartphone, and LG wasn't going to put the best in it. HDR+ gives rather decent results in a wide range of settings despite that, and mine has managed a large number of fantastic shots.
The Nexus 6, being twice the price, apparently has a fantastic sensor, and with that dramatically better base results, made even better with HDR+. Awesome. That's good.
The Nexus 5 has a camera sensor equivalent with the iPhone 5, on paper, but is handily and easily beaten by the 5s, and it shows.
I wouldn't say that. The 5s uses the IMX145 and the Nexus 5 uses the IMX179. Both are Sony CMOS arrays.
The 1/3.0 size of the 5s array does enable larger individual photon 'buckets' for better light sensitivity but they're both closely related in terms of contemporary Sony technology.
The faster 5s lens is a key differentiator, I agree. But it is rather outclassed by the the Galaxy S5 and the Xperia Z2 / Z3. No serious Android-using photographer looks much beyond those for a smartphone.