First stab at index blocking

Summary: Write to index before writing to buckets, and update to Pycassa so this update is atomic

Reviewers: usmanm

Reviewed By: usmanm

Differential Revision: http://phabricator.locu.com/D3352