#28 Support git when selecting revisions

Added optional dependency on git4idea.