(PUP-2560) Remove inventory service

The inventory service was deprecated in puppet 3.7. It has been
superceeded by PuppetDB and so the puppet master should no longer try to
implement this kind of functionality.
(PUP-2560) Disallow facts over the network

The final removal of the inventory service is to stop allowing facts
over the network. This stops the various facts terminii from responding.
Technically it was not longer reachable anyway because of the
pluralization rule changes: facts is seen as a "search" query for the "fact"
indirection, which does not exist. However, just to be sure, this stops
them from being used at all, even if there was a request constructed
that could get the facts indirection.
(maint) Simplify how noop events are checked and handled
(PUP-900) Don't process refresh events for noop'ed resources

When resources were processing queued events, the event callbacks would
be invoked if any of the events were not noop regardless of the state of
the resource in question. This means that a resource that had `noop =>
true` would have the refresh action triggered on refresh, bypassing the
noop statement.

This commit changes the refresh behavior to ensure that resources that
are set to noop are not refreshed.
(PUP-2558) Remove instrumentation system

Commit d4c80943 added the instrumentation system in December of 2011,
but was never put into use. We've seen transitory issues with the
instrumentation system, autoloading, and the definition of constants,
and in the mean time we've implemented a Profiler system that has been
put to real world use. It does us no good to have this code lying
dormant, so this commit removes it.
(PUP-3245) Profile function calls

The new evaluator implementation has a different code path for function
calls, but this path didn't call out to the profiler to track that the
call was made, this meant that new function calls were not showing up
anywhere.

This updates the call_function runtime to also profile that the call was
made.
Merge pull request #3097 from zaphod42/removal/puppet-4/pup-2560-remove-inventory-service

(PUP-2560) Remove inventory service
Merge remote-tracking branch 'upstream/pr/3096'

* upstream/pr/3096:
  (PUP-2558) Remove instrumentation system
(doc) Update manpages

The man pages have not been regenerated since January of 2013, they have
become incredibly out of date. This regenerates them so that the
removals that are now taking place are reflected.
Merge pull request #3098 from zaphod42/issue/master/pup-3245-no-profiling-for-functions

(PUP-3245) Profile function calls
Merge pull request #3091 from adrienthebo/issue/master/pup-900-noop-refresh

Issue/master/pup 900 noop refresh