Status as a dict instead of tuple
Extracting data POST logic from for loop
Extracted status to a class and using a generator to simplify sending logic
Splitting argument parsing and status in different files.

@phss
Trying to clarify the retry logic.

@phss
Renaming status to be more clear it's a post_status
Using namedtuple to simplify class definition.

@alexmuller, @phss
Merge pull request #5 from alphagov/refactoring_status_logic

Refactoring status logic