The diamond pidfile dir is created by the install script and upon rebooting the host machine, diamond cannot restart as the /var/run dir has been cleared by the reboot.

This commit changes the pidfile location to /var/run from /var/run/diamond.
add Amazon SQS collector
Initial implementation of a mountstats collector
Fix some very dumb off-by-one errors
Fix TypeError: an integer is required

If a custom port is defined in the collector config, it's not
converted to an int.
Merge pull request #366 from locationlabs/master

Change the deb pid file location back to /var/run
Merge pull request #365 from jwilder/master

Fix TypeError: an integer is required in BeanstalkdCollector
Merge pull request #364 from jgoldschrafe/master

Initial implementation of a mountstats collector
Merge pull request #362 from Dieterbe/collector_sqs

add Amazon SQS collector
Merge pull request #361 from avereha/master

publish some values as counters or percents in the mongodb collector
Re #361, verify the key is in the dict before accessing
PEP8 fixes
py2.5 fixes
Doc updates
Re #366, remove the chmod of the old /var/run/diamond directory that we dont create anymore
fix func doc
set unit to B by default in doc string
Do not use broken abs mode in threaded interval tasks.

Threading and interval tasks do not mix with abs mode, as the next
job is scheduled immediately after spawning the thread for the current
thread.  Not only does it not make sense (a job running significant
time is scheduled too often), it is actually harmful (a long running
job will cause the calculated delay to be zero, which creates a tight
loop that spawns threads until the system runs out of process slots,
essentially making diamond a temporary fork bomb).
Comment fix.
Merge pull request #368 from huoxy/master

fix func doc