fixes to get it working with ff:
- no trailing commas in json structures
- set file's type in xhr call, else it complains that its not xml
- use xmldoc.evaluate not domdoc.evaluate. This required the jmxdoc var to be passed down through the call chain.
- added doctype to index.html. this was an ff warning.
Added in comments from the ie branch so journal is always complete.
added idea to allow raw editing of xml for nodes that dont have editor yet.
Modified all the configs related to editing existing jmx files into an edit sub element instead of it being at the root.
This makes the way for a "create" sub element that stands for the template to be used when creating a new instance of a given element
fixed an issue with config.attrs not working. dunno why it worked in prev commit.
Added basic support for ability to add child elements. evolving design to actually support it now.
worked out logic to support cardinality
made jmx.js more top-down and readable by adding explanatory functions instead of straight code.
not too happy with the tight coupling but it will do for now.
might rewrite to make everything take params and therefore functional.
With this commit, however, I removed all inner functions except getType() and made them children of displayNode.
Shelved the create mode for now. See commit for reasons.
The new plan. See journal for details.
Basic version of edit raw working.
Changes for editing raw xml when no editor exists.
changed the code to handle multiple files being loaded. This required:
- changing index.html to take the name of the file from a dropdown
- changing it again to avoid name collision with jmx.js.loadFile().
- changing jmx.js to use a different root than the provided node.
    before, displayNode replaced the div node it was given with the generated view.
    now, it still does the same, but loadJMXFile creates a new jmxroot for it to modify.
      this way, the div from the html remains available for loading other files - not just the first one
- jmxwithargs.jmx: removed the filename from the top, making it a valid xml.
Updated todos to show edit raw is done, and added the next step as WIP
Basic version of self executing anonymous function checked in.
Changes to move config from jmx.js to its own json file jmxelements.json
Changes to move view functions to their own file. See journal for detailed notes.
Complete changes to make jmx into a self executing anonymous function.
Updated task list. The one addition is to evaluate if the reference to the model must be changed.
Updated readme, created devguide.md, issues.md. See journal for details.