Addressing Issue #51 & Issue #52

Adds attributes to non-leaf elements. Elements with the same name will now be in a proper numerically indexed array rather than having the first element having its child elements as non-numeric keys.
Merge branch 'master' into issue-51-and-52
Fixing if statements for PSR-2 compliance
Merge branch 'issue-51-and-52' of github.com:sprak3000/guzzle-services into issue-51-and-52
Merge remote-tracking branch 'sprak3000/issue-51-and-52' into xmlattributes
Ensuring children are merged, code cleanup, and removing dead code.