Merge pull request #2565 from vlakoff/develop

Form helper: refactor form_open() and _attributes_to_string()