Function to fix states coded as countries
Reorganized functions for clarity

Functions are now listed in the order that they are referenced.
Rename scnt to separator_count

Clear variable names are preferable.
Don't allow errors to pass unnoticed
Corrected incorrect reference to loctbl

This bug has been in the code for a very, very long time. I hereby blame
it for everything.
Minor reorganization of geocode_replace_loc
Clarifying documentation
Removed references to useless "typos" table
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' of github.com:Vadskye/patentprocessor
Revised geocoding process for unfound locations

No longer gives misleading error message, should successfully parse more
locations
Fixed line endings in integration tests
speedup on consolidate.py
Merge branch 'master' of git://github.com/Vadskye/patentprocessor
Merge remote-tracking branch 'upstream/master' from fung