Distributed LDA/LSI Python3 compatibility

Fixed import of the queue/Queue module to be compatible with both Python2 and Python3