Updated the System Model XSD to enforce one and only one Default Endpoint.
For backwords compatibility, there is an exception to this rule.
IF there is only one Endpoint,
THEN it is the Default Endpoint even if the boolean "default" attribute is set to its default value of false.
This is an intereim commit on the way to fully converting the SystemModelConfigTest from JUnit 4 to Spock/Groovy.
Reverted back to the XML Builder to try and figure it out.
Since the XML builder would not pretty-print in time to make the end of the Sprint, the old StringBuffer way was used.
The tests are good as they are since the coverage is there, but the Groovy XML Builder way would be better.
Parameterized xml generation for the tests, still needs some clean up
Updated to not check notThrown() and to use an expect clause.
First attempt at functional tests
update test with bad default
Cleaning up and adding null tests
mark test as slow test since take more than 2 and half mins to complete
Merge pull request #1030 from rackerlabs/REP-763

Updated the System Model XSD to enforce one and only one Default Endpoin...