Cache misses to prevent further database calls on subsequent fetches.

Previously, if no match was found in the database for a follow relationship,
subsequent calls for the same data would hit the database again.

To prevent these database calls, this commit caches invalid matches as '0'
to save a DB query the next time around.

See #36.