Support ag.el

See 

- https://github.com/Wilfred/ag.el/issues/72,
- https://github.com/Wilfred/ag.el/issues/82
- https://github.com/Wilfred/ag.el/pull/83