Many fixes

1. Add path criteria for BFS
   Nodes not satisfied are not expanded
2. Add safe_map cache in game map
   API remains the same. Map.safe_map auto checks whether safe map is
   valid or not. When bombs changes
3. server: Do not put tools on grids with bombs
4. Fix a typo
Add put time for bombs