Round up the datetime in seconds in convert_list_last_modified

To match the behaviour in https://review.openstack.org/#/c/55488/

Fixes #337
Merge pull request #340 from georgebrightinteractive/datetime-round-up

Round up the datetime in seconds in convert_list_last_modified
Formatting cleanup.
Removed locale test, as it is unreliable at best.
Fixed some log debug issues.
Updated the identity calls to work with the new http library. GitHub #333
Updated base_identity.py for the new response format.
Updated tests for identity