improved form action detection, now handles ../ and friends and should work more reliably in general. refs #252 (item no. 5)