Remove unused code and rename functions that were called "Local"

In the past, functions were named with the word "Local" in them if it was
anticipated that we would need to write a separate function for global
deliveries. This is no longer true for some functions, which have been renamed.

getLocalTargets has been replaced by getParserFunctionTargets and is no longer
used at all, and can safely be removed.

Change-Id: I23f22a317060bd69110b2a3dda2de396bad65cf5
Make getParserFunctionTargets a static method for easier unit testing

A slight modification was made to the function so that it now takes a $context
parameter which is provided as $this->getContext() from the special page.

We no longer have access to $this->status so there is no way to throw
a fatal, so it fails silently right now.

Change-Id: I210a7d201df62d08039113c8844e25aa1614e291
Merge changes I210a7d20,I23f22a31

* changes:
  Make getParserFunctionTargets a static method for easier unit testing
  Remove unused code and rename functions that were called "Local"