Update salt/modules/mongodb.py

Rectification of 'TypeError: port must be an instance of int' if using specified settings for Mongo.
Fix the regex for file.uncomment checking

Anchor to beginning of line, allowing for leading spaces
Check for comment character when checking for commented regex
Update docs to reflect new uncomment behavior
Make PPA handling in apt-repo more robust

Take in the changes provided by ahammond and move them to the apt.py
module out of the pkgrepo state itself.

I've also included some changes that should make get_repo a bit
better and updates to better handle PPA style formatted names
in .absent calls

To avoid some odditiies any repo changes (add, delete, mod) will
do an explicit db_refresh()
Postgres modules now respects the pillar setting postgres.pass, as promised in the documentation
Needed to rename the password for newly created or changed roles to rolepassword.
Allow for tabs in leading whitespace in file.uncomment
Change file.uncomment to keep leading spaces

Previously deleted a single space after the comment character
Fixed wrong assumption of how passwords are used by psql.
Added helper function to change running environment of psql
Fixed an SQL statement bug, version check bug and added previously missed password from config.option check
Revert the `.travis.yml` changes.

* We still support python 2.6
* DO NOT use system packages as the travis docs clearly state.
Merge remote-tracking branch 'upstream/develop' into postgres-pass
Install patched M2Crypto.
Always define `arg` before the new line detection regarding yaml's `safe_load`.
Always define `arg` before the new line detection regarding yaml's `safe_load`.
Merge pull request #4051 from s0undt3ch/develop

Always define `arg` before the new line detection regarding yaml's `safe_load`
Fix expected comment in testcase `states.pip.PipStateTest.test_pip_installed_weird_install`.
If GECOS info is not specified, it should not be deleted either.
Merge pull request #4052 from s0undt3ch/hotfix/fix-travis-again

Fix travis and tests
Add function config.is_true

This function will provide a common interface for determining truth, so
that module functions can properly determine the truthiness of a value
passed in via the CLI.

This will allow some code in the package providers to be a little less
ugly, and will also come in handy when #3363 is implemented.