removed FK constraint on evernote photos (to resources), added a mechanism that allows us to impose an order on delete operations for a connector's facet types, fixed tag deletion bug