added tests for 'block' npcs
added __state__ member to Entity to enable more state based handling of
game objects