Revert "Revert "Removing ext/ereg and dependencies""

This reverts commit 1981dd9c73ada7ea893b4636b84211f68838ba23.
Revert "Revert "Updated UPGRADING for ext/ereg removal""

This reverts commit 98b8050433d25cc9c173360e01272836acd7307f.