[Changed] moved code related to spawning the old man to a new file.
[Added] unit tests for spawning the old man.
[Added] isOnline method to LuaPlayerObject.
[Changed] old man is now only spawned when player is online, not in a
building and not in a NPC city.

Change-Id: Ia3c0b66ac54c036002b81890db9f4d6d09ba9fbf
Merge "[Changed] moved code related to spawning the old man to a new file. [Added] unit tests for spawning the old man. [Added] isOnline method to LuaPlayerObject. [Changed] old man is now only spawned when player is online, not in a building and not in a NPC city." into unstable