WIP entity rename logic
use a check lookup that covers all checks seen
rake tasks for entity reparent, untested as yet
Entity#merge for assimilation of orphaned data
uncomment code
Use GLI's exit_now! rather than specifying our own exit codes and printing the error
Added AWS SNS Notification Gateway

AWS SNS allows users to send 100 free SMS messages per month, with
pricing being competitive after that.  This gateway allows a user to
define a 'sns' media type, containing a AWS Topic ARN.  Notifications
passed by the notifier with will then get delivered to the specified SNS
topic.
Updated contact spec to allow for SNS notifications
Reverted changes to env.rb

I'm still unable to get _any_ features to run locally (Debian Wheezy,
ruby 1.9.3, redis 2.8 from source) with this line left in. Not sure why,
but evidently it makes the travis builds fail.
Merge branch 'master' into 599_rename_state_with_entity
PID fixes to stop race condition when stopping and starting Flapjack

 - Make the pidfile a class variable, so it exists for all functions
   that try to reference it.
 - Get the pid before issuing the kill, so the pid isn't always nil
Always show the search bar
Merge pull request #603 from flapjack/pid-fixes

Pid fixes, handle exit codes correctly with GLI
Merge pull request #604 from flapjack/always-show-search

Always show the search bar
PID and consistency fixes

 - Switch to using pid_file and pid_dir to keep all our pids in the same
   location (rather than occasionally sending them to /var).  Apply the
   same to log locations.
 - The above change means flapper needs sudo to run
 - DRY nagios and nsca receiver code.
 - Give the same outputs for flapper, receiver and server, including
   the pid and uptime for a status.
 - Check that the flapper and receiver processes terminate correctly.
Update tests to use new pid code

 - Check for the existance of @config_env['pid_dir'] before trying to
   use it.
 - Specify pid_dir and log_dir in test config to avoid them defaulting
   to a location requiring root permissions during tests.
 - Update names of the flapjack*receiver commands so that the pidfiles
   match the defaults.
 - Update daemon test code to use new pidfile locations.
 - Add mandatory error messages to exit_now! statements
Dirs are directories, not files
Merge pull request #606 from flapjack/pidfile-fixes

PID and consistency fixes
Add docs for logo image path (Closes: #505)
rework Entity#add to better express actual code paths