Add helpers for adding bit operators to enums.
Add helpers for optional locks.
Add operator -> to AlreadyRefed.
Add some helpers to AddRefed.
Add ^ to enums.
Merge branch 'master' into atomic-ref