adding options to make queues durable and HA
'type' instead of 'exchange_type' in recent pika vers
Merge pull request #129 from pchandra/master

Adding HA options for rabbitmq
Update required pika version
Properly handle redis reconnects when the datastore becomes unreacheable. Refs #93
Merge branch 'master' of https://github.com/josegonzalez/beaver
Expand path for pidfile creation
Use logfile flag for sending all output to a file in daemon contexts
Fix issue where input type was not being detected properly
Ensure that the RedisTransport calls the super invalidate method. Refs #93
Rename null_formatter to raw_formatter in BaseTransport class
Properly handle unreadable files by logging a warning instead of crashing. Closes #130
Ensure logging to a file does not destroy regular logging. Closes #132
Expand logging output path. Closes #133
Turn on logfile output when running in non-daemon contexts. Closes #131
Remove ujson requirement

This allows users that do not have a compiler in their deployment area to install beaver.

Closes #137
Typo in SQS docs
Merge pull request #140 from jonathanq/master

Fixed a typo on the SQS docs
Move file unwatching in old-style worker out of for-loop. Refs #139

Each worker has a `self._file_map` attribute which is a mapping of file ids to file data. When retrieving lines or checking on the status of the file, we use `iteritems()` which gives us a generator as opposed to a copy such as with `items()`. This generator allows us to iterate over the files without having issues where the file handle may open several times or other random Python issues.

Using a generator also means that the set that we are iterating over should not change mid-iteration, which it does if a file is unwatched. To circumvent this, we should use a separate list to keep track of files we need to unwatch or rewatch, and do it out of band.

We should also take care to catch `RuntimeError` which may arise when closing the Worker out of band - such as in the `cleanup` step of the worker dispatcher - but nowhere else.

This should fix issues where logrotate suddenly causes files to disappear for a time and beaver tries to tail the file at the exact time it is being recreated.
Disable daemonization on the windows platform. Closes #141