Added Gentoo support for timezone module
Merge pull request #3153 from shadowfax-chc/timezone

Added Gentoo support for timezone module
Update doc/topics/event/index.rst

default sock_dir was changed. Updated this doc to work with new location.
Added makeconf module

Manages setting values in the Gentoo make.conf file
Merge pull request #3154 from torhve/develop

Pass on the given env
Added functions to append and trim vars in makeconf
Added cflags functions to modify cflags variable
Made var_contains actually work
Added functions for common variables in make.conf
Added docs for makeconf module
Fixed bug in layman.list_local

If no overlays had been added, layman.list_local would fail with
IndexError
Updated layman.add and layman.delete to adjust make.conf

When the first overlay is added, the make.conf needs to source layman's
make.conf so that emerge sees the packages in the overlay. Likewise,
when the last overlay is deleted, the make.conf needs to no longer
source layman's make.conf as it will cause emerge to break.
Merge pull request #3160 from shadowfax-chc/layman

Layman bug fixes
Merge pull request #3159 from shadowfax-chc/makeconf

Makeconf
Fix typo in example
Merge pull request #3161 from alejandrogomez/patch-1

Fix typo in example
Fix typo in pre-passing opts to localclient
Added makeconf state
Merge pull request #3162 from shadowfax-chc/makeconf-state

Added makeconf state
Add multiple-package support to pkg.latest state

Currently only apt is supported, will work on the rest in the coming
days.

As part of this commit, a new function has been added to pkg_resource
called "compare". This will do version-checking where a specific package
provider does not provide a means of reliably comparing versions. This
was made necessary by the fact that distutils.LooseVersion does not
properly handle Ubuntu's weird version strings (like '1.2.3-0ubuntu1').
apt now has its own "compare" function which uses dpkg --compare-versions
to do the comparison. (thanks @thekuffs!)

As I start adding multiple package support for pkg.latest in other
platforms, I will (where possible) create provider-specific "compare"
functions. This should make version checking more reliable, and moving
forward should also make the audit of version support in pkg.installed
much easier to accomplish for providers which don't allow you to install
a package using the following syntax: pkgname>=1.2.3