topic/robin/master-test status

This branch has all my recent threading changes, as well as all the
pending merge requests / fastpath commits. My plan is for this to
become master asap, but it's not quite there yet:

    - I need to do more testing. Tried only Fedora Linux so far (and
      don't know yet if the earlier Mac problem is still there).

    - scripts.base.frameworks.logging.rotate fails sporadically by
      leaving out one rotation it seems.

    - When I add tuning/logs-to-elasticsearch.bro to test-all-policy,
      some tests hang.