ATS: Refactored outgoing requests to use AtsConnection

Refactor outgoing requests to run through AtsConnection. Now using the command pattern.
Adds some logging and a more testable design.

<!---
@huboard:{"order":20.0,"custom_state":""}
-->