cleanup imports and whitespace
make commtrack config cacheable

in response to http://manage.dimagi.com/default.asp?115038

makes location download about 5x faster locally

should make random bits of commtrack/hq faster too
Merge pull request #3947 from dimagi/location-download-performance

make commtrack config cacheable