updateOrganizationWithApplicationTxn function added to org_app view.
updateOrganizationWithApplicationTxn function added to org_app view.

It wraps logic function so that it is executed within a transaction and operates on fresh data.

rhyolight/nupic.son,rhyolight/nupic.son,rhyolight/nupic.son