Changed game object and game sprite template arrays to dictionaries so that order is not important.

I need to fix single animations (they will just continue forever), and
update background templates as well. Then add a quad-based collision
detection system for rooms.