Add get_selections() and set_selections() for dpkg.

This module will enable to freeze a package at a certain version, with the "hold" state.
Add TODO, amend later... FIXME.
supporting tomcat6
less copy/paste
Merge my dpkg-selections branch with develop.

Resolved conflicts in modules/apt.py.
Fix merge mistake.

urllib2 and json is part of standard Python.
Use yaml.safe_load()
Add another TODO
Use code-block

As per @terminalmage suggestion.
Fix tracebacks when prefix not specified.

This fixes #6886 by accounting for instances where the prefix is not
specified, catching the KeyError exceptions.
Add check for glob_match to make sure the tgt is a string
Store salt related path configurations in the `distribution` object. Fixes #6906.

Added `srv_root_dir` to the paths to check.
Remove trailing white-sapce.
Add missing new line at the end of the file.
Update reclass_adapter documentation

Signed-off-by: martin f. krafft <madduck@madduck.net>
fixing url6 init
Make sure every temp dir created on the unittests respects, `integration.SYS_TMP_DIR`
Merge pull request #6888 from terminalmage/issue6886

Fix tracebacks when prefix not specified.
Merge pull request #6915 from s0undt3ch/features/improve-packaging

Store salt related path configurations in the `distribution` object
Merge pull request #6918 from madduck/reclass-docs-update

Update reclass_adapter documentation