Add VSync option

Adds https://github.com/MovingBlocks/Terasology/issues/669