Since there might be a bunch of Nexus 5 "me too" users reading this. The immediate solution to the memory leaks and battery issues are to reboot into recovery and clear the cache every 2 weeks or so. This is what I've been doing for a month and it hasn't been so bad as before.