Automatically populate getctag with the sync-token, if available.
PHPUnit 4.2
Automatically exposing a 'ctag' if we have a token available that can take that role.

Fixes #496