Cleanup WAN replication to split it into interface and implementation
More checkstyle cleanup
Merge pull request #2464 from noctarius/wan-replication-cleanup

Wan replication cleanup