MIGRATION: fix processing of unprocessed pub bundles
Revert "newrelic monitoring of ... posting" 4b2579

A SystemStackError occurred in periodic_bundle_contents_metal#create:

  stack level too deep
  activerecord (3.2.11) lib/active_record/transactions.rb:274

This ctual exception is taking place in active_record/transactions.rb

    # Reset id and @new_record if the transaction rolls back.
    def rollback_active_record_state!
      remember_transaction_record_state
      yield
    rescue Exception
      IdentityMap.remove(self) if IdentityMap.enabled?
      restore_transaction_record_state
      raise  # <=== stack trace only captures this
    ensure
      clear_transaction_record_state
    end

reverts commit 4b257927a9f43375cf017ee65c5c8e55f3107076.

This reverts commit 4b257927a9f43375cf017ee65c5c8e55f3107076.
temporary: set has deploy branches to topic_au_rationale
Fix some NPEs
Fix filtering resource pages and external activities by cohort.

Apparently investigations/activities don't support cohorts
right now?
Merge branch 'master' into gv-r32