Fix @2560

Originally, the form_open method expected an empty string in
$attributes to set the "method='post'"

I changed this to accept empty arrays and arrays whoch don't have a
"method" key