Fixed bugid #464 in elasticsearch output module

Added some libcurl options in checkConn to disable the bodyport of the
request within this functions. Otherwise libcurl could have created a
sigsegv when curl_easy_perform() was called.
Fixed bugid #464 in elasticsearch output module

Added some libcurl options in checkConn to disable the bodyport of the
request within this functions. Otherwise libcurl could have created a
sigsegv when curl_easy_perform() was called.
Fixed a bug in curlPost related to http://bugzilla.adiscon.com/show_bug.cgi?id=464

A Check was added for replylen before writting the 0 Byte to the end of reply data.
Fixed another issue related to http://bugzilla.adiscon.com/show_bug.cgi?id=464

Added check for empty batch data in endTransaction function.
Avoids sending an unneeded curlPost, can happen when elasticsearch is shutdown
while sending data to.
Fixing new style config format issues from bugid #468

See http://bugzilla.adiscon.com/show_bug.cgi?id=468
Removed CNFPARAM_REQUIRED from all optional parameters.
Another fix for bugid# 468

Using OMSRsetEntry now to set the default action template when using new-style config.
See here for more: http://bugzilla.adiscon.com/show_bug.cgi?id=468
Using OMSRsetEntry to set the default action template in ompipe for now.

If no default template is set, a segfault occured on startup.
Using OMSRsetEntry to set the default action template in omprog

If there was no default template, a segfault occured on startup.
Removed SPACE after "MAIL FROM:" and "RCPT TO:" as RFC5321 permits spaces.
doc: typo fix (in directive name!)

Thanks to Martin Foot for reporting this problem.