Epoll: testing new MK_EPOLL_HANGUP mode

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Lib: upgrade test lib version

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Debian: bump to v1.5.o (development)

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Linux Trace: Fix compile issue
Merge pull request #103 from matematik7/master

Linux Trace: fix compile issue
Doc: Add CONTRIBUTING.md file

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Libmonkey: fix build and add test for mimetype
Merge pull request #109 from kaspersky/master

Libmonkey: fix build and add test for mimetype
Doc: update CONTRIBUTING with 'Commit Changes' info

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Configure: fix broken plugins path on previous contributor patch

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Epoll: Fix not catched peer close after events modifications (EPOLLRDHUP)

If a socket created on the event loop did some events modifications and
the peer closed the connection, the core did not trap this event. This
patch re-enable the EPOLLRDHUP flag.

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Monkey configuration: add program options for configuration paths

This patch solves the issue #36.

4 additional program arguments were added for specifying different
configuration files and directories:

-m, --mimes-conf-file # path to monkey.mime
-P, --plugins-conf-dir # path to plugins configuration directory
-l, --plugin-load-conf-file # path to plugins.load file
-S, --sites-conf-dir # path to sites directory

Each option has a default value.

Monkey will try to interpret the options by prepending their values
to default configuration directory. If the obtained path does not
exist, the options will be treated as absolute paths.

I tested using ./configure --prefix=path --plugdir=--path2 and
default build. I was able to load different configuration files
from custom locations with custom names, overriding the default
names which were hardcoded in Monkey.

The patch also contains an unrelated fix to:

bin/monkey --confdir # was not working, while provided by --help

Signed-off-by: Vladimir Cernov <gg.kaspersky@gmail.com>
IOV: store buffer using void data type instead of char

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
IOV: store buffer type changed to void in function '_mk_iov_set_free'
Merge pull request #120 from tssavita/iov_patch2

IOV: store buffer type from char changed to void in function 'void _mk_iov_set_free'
Vhost: skip files ending in '~' (editor backups)

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Epoll: when adding a new FD, return status value

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Memory: upgrade Jemalloc to 3.6.0

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Merge branch 'master' of github.com:monkey/monkey
Scheduler: Moving and renaming function mk_sched_worker_info() to mk_plugin_sched_get_thread_conf