fix AbstractObjectFactory's singleton dispose order

* using stable collection and reversing it before traversal
* also remove .gitattributes