Added extra API user variable + XML attribute possibility

Added extra variable that holds the information about the API user.
Added the possibility to add attributes to XML elements by adding an array with '_attributes' as key to the object that you are passing.