Remove obsolete template functions
LALInferenceTestInjectionLikelihood.c: Remove reference to obsolete Template functions
fixed POSIXLY_CORRECT failure in UserInput module

  - deactivated usage of POSIXLY_CORRECT in lal-local getopt_long() code
  - plus cleaned up and simplified that code of historical garbage
  - renamed files and global symbols by prefixing 'LAL' to avoid namespace conflicts
  - fixes #1130