Code cleanup.

Avoid repetetive boilerplate code by using helper methods.

Change-Id: Id3ce8d07d35d59c08cbc67fa35bbf6daa67c9608
Merge "Code cleanup." into cm-11.0
Revert "Merge "Code cleanup." into cm-11.0"

This reverts commit 89accfb035788506d6c473c7515913ba92899890, reversing
changes made to 19bcd57e4cd8b9ac00a32ff2876a311abe9dc97e.
Revert "Add reverse lookup provider "PagineBianche" (IT)."

This reverts commit 2491d19f178f2b78a00cce00bce5dc8ec0d60231.
Revert "Merge "Add reverse lookup provider "Das Telefonbuch" (DE)." into cm-11.0"

This reverts commit 1a130e5da140faab5645a053cec8788aeff15c23, reversing
changes made to 70f613ae56ceb40211beb2da2f2bc7f65b2a4667.
Revert "Chinese Location Lookup [1/2] Dialer: Chinese Reverse Lookup"

This reverts commit 6605b6292df97b66785a06927d7bcd28c217d121.
[3/3] Base: Incoming Call in Background
[2/2] Dialer: Disable Statusbar and Navbar during call by Proximity Sensor
[1/3] Dialer: Add Google Reverse Lookup
Dialer: Support 4.4.3
Dialer: Fix letters width
Dialer: T9: Fix country priority over language
Dialer: Enable Call Recording