Fix ec2_role when role_name_or_hash is not a hash.

I believe this is what the original author meant, when adding this functionality. Either I'm missing something or 1.3.5 has not worked with something as simple as 'ec2_roles :web' 

For me it failed with:
```
capistrano.rb:81:in `[]': can't convert Symbol into Integer (TypeError)
```