Added test task to rakefile so non Rubymine users can run tests.
Changed start directory for tests to accommodate running tests from command line as well as rubymine
Added test to verify properly namespaced xml is provided by XMLFragment.
Added code to track object ids.
Tracking the current and getting the new object ids should be in the DiagramObject so that it is available when updating a diagram.