Track response status code on import and an initial handler
Switched off test that travis can not run
extended error handling and tests
Added connect and receive timeout linked to settings
refactored log rails error
refactored error raising and passing
refactored error raising and passing
create (and pend) spec for testing timeout
Implemented functions and tests for response and connection timeout
refactored error raising and passing
removed test failing in travis
Consolidated stats/logging to import yield block
Converted stated timing to time block
Log import endpoint and options
Override for import database lock

Since this is policed by ‘whenever’ and cron scheduling it isn’t
important to have the DB lock functionality in the code. It also 
hinders testing of the import logic.
Tidy up yield passing in import - can pass errors all the time
use previous_updates to detect changes with update
Avoid error when counting unchanged records
Detect errors based on empty ActiveRecord error messages
Fixed process_result with new error detection