[c2954] Implement basic script for Thorim

Also included more cleanup and optimization for Ulduar instance script

(based on commit SD2-WotLK [2954] - 4c4522c)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>