Return $this from lock() and unlock()
Summary: This simplifies establishing multiple locks since you don't need to use temp vars.
Test Plan: Trivial / unit tests.
Reviewers: btrahan
Reviewed By: btrahan
CC: aran
Maniphest Tasks: T1162
Differential Revision: https://secure.phabricator.com/D2936