Support for OS X 10.10 Yosemite and associated bugfixes.

BUG=
R=scudette@gmail.com

Review URL: https://codereview.appspot.com/170760043