Added path::parent.
Added AutoPtr class, added destructor callbacks for ICountable, added
BlockArray class, added interface of RailwayArray class, WIP rework of
ResourceMgr (getting rid of dependencies on IResource). Added a TODO
list.