configure: enable netloc by default when possible

Also:
* rename BUILD_NETLOC into netloc_happy to uniformize things
* no need to AC_SUBST it
jansson: bring the upstream fix for GNU-specific make-ism

Bring
  https://github.com/akheron/jansson/issues/203
and disable the configure code so that we don't pollute AM_CFLAGS everywhere.