Fix FileLocaltion.__lt__

Can not compare NoneType and IntType in py3, so explicitly compare them.
Fix TestTableModel.test_table_row_items

In Py3, zip does not support comparison directly, so convert to list firstly.