Make old rapidsms pagination "digg-style" pagination

Show pages around current page in pagination.
Update paginator template to be use bootstrap
Don't show extra pages (border or adjacent) when there aren't items there.
Remove href tags from disabled links.
Fill in gaps of 1 page with missing page not elipsis.
Tests for paginator
Remove vim header
Fix set syntax for python <2.7
Cleanup tables.  Fixes ordering.
Hide delete field when there is no initial data
Use settings.PAGINATOR_OBJECTS_PER_PAGE
Fix registration tests in release-0.12.0 branch
Refs #327: Add test for CSV upload of unicode data
Merge pull request #327 from rapidsms/327-csv-upload-unicode-test

Add test for CVS upload including Unicode data
Refs #326: Optimize queries in registration and message log

- registration: use prefetch_related so each contact's connections
  are pre-fetched and we don't need one query for every contact on
  the screen
- messagelog: use select_related to include each message's contact,
  connection, and connection backend in the original query, so we
  don't query for them for every message on the screen

Branch: 326-optimize-queries
Merge pull request #326 from rapidsms/326-optimize-queries

Speed test with Django debug toolbar
Disable Next button on last page.
Clean up variable names.  Remove now unused context variables.
Remove unused import
Paginator tag documentation
Merge 297-pagination. Fixes #297