Fixed creating of status code xml

Status code is now appended to the status
Merge pull request #26 from alex89m/patch-1

Fixed creating of status code xml