Fix for InnerBrowser::submitForm with document-relative paths - Issue 1274

Unit test and fix for forms with document-relative paths for action - issue #1274