add index to resources.facebook_id for faster queries
Merge branch 'rspec-tests'
change: prevent duplicate syncing
fix class mismatch
fix minor issues