Update generate append entries to include Previous Log Term
Followers will correctly commit to a log entry.
Include examples in travis ci config.
Refactors broadcast in append entries.