Improve regex in DeprecatedFunctionsCheck.

Before a function, there's either a start of a line, whitespace, . or (
to avoid false positives, like wp_list_pages() being flagged as
list_pages().