Update salt/modules/mongodb.py

Rectification of 'TypeError: port must be an instance of int' if using specified settings for Mongo.
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()
Added -r requirements.txt to dev_requirements.txt.

When calling: `pip -r dev_requirements.txt` the `requirements.txt` file
will automatically be included as well.
Split Python 2.6/2.7 requirements.
import grp in try

Windows has no 'grp' module
fix import os

somehow I changed import os to import ps

Fixed it
Merge pull request #4087 from rca/add_requirements_to_dev_requirements

Added -r requirements.txt to dev_requirements.txt.
Merge pull request #4113 from UtahDave/fix_win_cmd

Windows has no 'grp' module. Put import grp in try statement
basic support for reboot, shutdown, halt, etc.

 - return data formatting needs some attention
Merge pull request #4115 from cedwards/system

basic support for reboot, shutdown, halt, etc.
updated PKGBUILD to 0.13.2 with minor fixes

 - removed rc.d scripts (master,minion,syndic)
 - s/python-m2crypto/python2-m2crypto/
updated to match stable PKGBUILD

 - removed rc.d scripts
 - minor cleanup
fixed sources=() reference to removed rc.d scripts
Merge pull request #4116 from cedwards/PKGBUILD

updated PKGBUILD to 0.13.2 with minor fixes
Provide the master's version in pillar.data

This allows you to make decisions based on the minion version and
master version, for example, running pkg.install only if the
salt-minion is out of date

Grains would have the minion's version
Pillar would have the master's version
{% if grains['saltversion'] != pillar['master']['saltversion'] %}
PPA-Update

Modifications after testing of previous PPA-UPDATE da7500bab6d0932011b4cb72c61e05828f286f3d
Fixing a bad-index for the format string

LP_SRC_FORMAT string had bad format replacements in it.  .format
is zero indexed.
do not set paths here
Updating the output format for ping calls

A default installation no longer has JSON-style output
Merge pull request #4117 from kfdm/pillar-master-version

Provide the master's version in pillar.data