Added distribution logic for static entities to factory class so that
object entities as defined in levels.xml are placed accordingly.

Added parsing method to figure out distribution values that have special
offset markers.