Extract defaultHeaders method for use outside of sync.
Post to logout endpoint on user.logout().

Send auth headers.
Send redirect closure on successful logout.
Send refresh token with logout request.
Merge pull request #5 from synapsestudios/implement-logout-endpoint

Implement logout endpoint