Added reference counter

Added basic reference counter to base element
Added assert call for elements not destroyed correctly
Updated scenegraph

Parser now releases elements when it fails to load XML
Scene priority can now be specified when attaching a scene to the
scenegraph
Scenegraph now uses a multimap