Bundle third-party libraries. Relates #837.
Update for 2.3.1 release.
Add 2.3.1 changes.