Better way for callbacks to get form object

by drigolin:
http://www.pradoframework.com/forum/index.php?action=post;topic=17374.0
Fixed regression in previous commit

TCallback exposes no real object in the page DOM, so the new method to
find the form introduced with the previous commit needs to have a
proper fallback to the old method.