IK not working for legs, where am I wrong?
The legs need a bend in their default position.  Select the armature, go into Edit Mode, and push the knees forward a tad.  Here's what it should look like after that.



Also, consider reducing the leg IK chain length to 2.  This will make the bending more predictable.