Packing values of elements with same name/key in an array (useful for roles tag)

This commit addressed the need of being able to retrieve all the roles specified for a given user, which was not possible before since every role tag would add to the results hash under the same key.


EDIT: this pull request applies to the response.rb file, but since I'm using calh's fork, a lot of changes came with this pull request. Basically, the change I'm proposing is the following:

    lib/onelogin/saml/response.rb
    @@ -48,7 +48,12 @@ def attributes
               name  = attr_element.attributes["Name"]
               value = attr_element.elements.first.text
     
    -          result[name] = value
    +          result[name] =
    +            if result[name]
    +              ([value] << result[name]).flatten
    +            else
    +              value
    +            end
             end
     
             result.keys.each do |key|