Added interactive treasure box

*add active flag to actor, none-active actors will not be updated or
rendered
*add Tile class for logics in tiles
*add NinePatch class for UI stuff
*add a prototype of DialogWindow