Ensure that the order of the attributes in the underlying serialized xml matches those generated by IDEA if running under ruby 1.9+ by explicitly ordering inserts into hash

git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1431880 13f79535-47bb-0310-9956-ffa450edef68