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