Remove stable functions

They failed to take account of nesting due to procedural languages etc.

Handling this is possible - see pg_stat_statements for an
examples - but requires an extra PG_TRY block for each statement.
That's not desirable for timing functions that are not critical.

This code has been retained in the stable-funtions branch.