[POC] Enabling validation that depends on ajax

This includes a setInterval on yiiactiveform.validate so it can wait for all validations that depends on async functions (such as AJAX callbacks) to finish properly.

The code is "ready" but using non-proper identation to allow for easy comparison of what has been added to the code - as github does not have a "ignore whitespace" diff option.