fixes spacing
Added -T option for immitating tee

Adds an option for the producer to emit sent messages to
stdout, thus emulating tee.
fixes fwrite invocation

According to the man page:

On success, fread() and fwrite() return the number of items read or written.
This number equals the number of bytes transferred only when size is 1. If an
error occurs, or the end of the file is reached, the return value is a short
item count (or zero).

Credits goes to David Haguenauer for this catch.
Removes extra parenthesis
Changes to meet upstream requirements

- origlen renamed to orig_len, types to size_t and declared a top
- use CONF_T_TEE + conf.flags instead of a new field
Changes tee fwrite error message
Adds RPM spec file
fixes BuildRequires list
fixes race condition
Merge pull request #20 from fsaintjacques/rpm-spec

Tee mode & RPM spec by fsaintjacques