Bug 855415: Add db index to token column.

* Reduce token column length to 40 (UUIDs are 36 chars)
* Install South.