Create presence_simulation.lua

Initially developed by richo (http://forum.fibaro.com/profile.php?mode=viewprofile&u=1784)