[Fix #516] Define ZLE functions separately
[Fix #522] Do not load the terminal module in non-graphical terminals
Fixed bug in pacman module.

Updated settings to work with X and i3.
Merge remote-tracking branch 'upstream/master'