Fix threading with ActiveRecord connection pool

Add a CrowdCrowd.defer method that sets up a new thread and ensures that
ActiveRecord connections are returned to the connection pool upon exit