Refactor to namespace
Small cleanup.
Merge pull request #660 from drak/pagelock_ns

Refactor PageLock to namespace