Update to Foundation 5.4.7.

Also update dependencies, following upstream bower.json.