CRM-13992_temp_fix : fix for comment #comment-58624

This PR includes a fix for comment http://issues.civicrm.org/jira/browse/CRM-13992?focusedCommentId=58624#comment-58624 
NOTE: this is a fix done keeping in mind that -  fixes for this issue is to be back-ported to 4.4 . 

What this fix does is: upon any form rule validation error within the popup, redirections don't happen and pop-up remains as is.