IP2Location: Cache DB index using array.array.

For fast access to binary data.
IP2Location: Cache result records.
IP2Location: _get_record: Use local vars which should be faster.

_get_record() is one of the most time-consuming functions.
IP2Location: Cache also on get_all() level.