Add Call statistics to Contacts (Phone)

Available from the local menu in the Phone application (except from
the Dialer Fragment).

Call-type filter can be selected in the actionbar.
If all call types are selected the incoming/outgoing rates show up in
blue/green respectively.
Tapping on an item starts a new activity that shows all call types with
details for the given contact or number.

Sample screenshots: http://files.sethyx.info/aokp/call_stats_sample.png

PS1: Import from AOKP
PS2: Cleanup, avoid code duplication, avoid broken call log for
     non-English locales
PS3: Add German translation, cleanup time formatting
PS4: Fix counting issues in header when not displaying all calls
PS5: Improve layout and duration formatting
PS6: Tweak details activity layout
PS7: Show number of incoming/outgoing calls in details activity.
PS8: Allow sorting by date, move filter reset out of date picker,
     prevent invalid date ranges, cleanup
PS9: Fix derp
PS10: Reduce code duplication
PS11: Whitespace fixes, remove now unneeded drawables
PS12: Final cleanup
PS13: Fix issues in number handling
PS14: Improve call lookup
PS15: Show total call count in details, fix rounding issues
PS16: Add a scroller to details activity for lower-res devices
PS17: Improve layout
PS18: Cleanup

Change-Id: I94cd49e167b82bc7eaeab9225ed96a273a33b18c
Fix crash of date selector.

How to reproduce:
- Open date filter
- Turn off screen
- Turn on screen
- Reopen date filter

Also move around code a bit to follow existing design patterns more
closely.

Change-Id: Ibd46a09db6c5fb4623a1ef8062af971aee0e1a60