Check if the counter is nil for a given association.
Added sub_collections and fixed tests.
Merge pull request #14 from Shopify/fix_reset_counter_cache

Fix reset counter cache