CRM-12910, fixes to also consider ajax calls and do re-binding when call...

...ing crmRevisionLink