updated migrations to default counter_cache values to 0
update model associations for counter_cache and fixed tests
updated engine to include local migrations in the parent app migration path