proto/base: fix copy and paste bug in uwsgi_proto_base_cgi_prepare_headers

Reported by Coverity as CID #989253
added uwsgi.java as the base for JVM request plugins
core/exceptions: fix memory leak in wsgi_exception_setup_handlers

Reported by Coverity as CID #989249.
core/exceptions: fix leak in uwsgi_exception_handler_thread_loop

Reported by Coverity as CID #989248.
core/alarm: fix memory leak in uwsgi_alarm_thread_loop

Rpoerted by Coverity as CID #989247.
core/subscription: fix wrong check in uwsgi_subscribe2

It looks like both s2_server and s2_key are mandatory in
uwsgi_send_subscription so fail if any of them is missing not both.

Reported by coverity as CID #989245.
core/exception: avoid null pointer dereference in uwsgi_exception_run_handlers

If wsgi_req is NULL and uwsgi.reload_on_exception is True

Reported by Coverity as CID #989244.
plugins/router_http: Fix copy and paste bug in uwsgi_routing_func_http

Don't redeclare ub_url since it is already there.

Reported by Coverity as CID #989243, #989252.
core/static: Add missing break in switch

Reported by Coverity as CID #970990.
core/ini: change ini_get_line size type

The only user of ini_get_line uses a size_t as size. Since off_t
and size_t have different storage size just switch ini_get_line
to size_t.

Reported by Coverity as CID #970984.
core/yaml: use size_t for buffer lenght in yaml_get_line

As the only user pass a size_t value and they have different
storage size.

Reported by Coverity as CID #970987.
plugins/http: remove self assignment

Also while at it cleanup the handling of the if branch around
the ifdefery.

Reported by Coverity as CID #970999.
Merge pull request #169 from xrmx/coverity8

More issues reported by Coverity
Merge pull request #170 from xrmx/coverity9

A few more coverity fixes
use exec/execfile instead of import in the build system
prepare for clojure/ring support
Merge branch 'master' of github.com:unbit/uwsgi
ported post_build hooks to the new build system
signals can now be registered even by non-fork friendly plugins
added jvm api for iterations