[api] added repo_history_changes api

Also include commit_id in events api.

The api would be used by the desktop client to display file activity details.