Refactor getAccessCount()
Split up utils to save content script size.

lib/utils got split up into lib/content_script_utils (used/usable by
content scripts and background pages alike) and lib/utils (used by
background pages only).