phantomjs: update 1.9.7 bottle.
bottle: include revision in commit message.
boost: make python optional.

Closes #28281.