[12795] DBScripts-Engine: Allow casting a random selected spell

This will change SCRIPT_COMMAND_CAST_SPELL (15)
to allow passing additional spell-IDs with dataint..dataint4 columns.

If these are used, a random spell out of datalong, dataint, ..dataintX is used as cast spell.
[12796] Fixup two recent commits

Thanks to Chero and DasBlub for pointing
fix .npc factionid command after creature_template change
Merge pull request #144 from Tafuna/master

Fix .npc factionid command after creature_template fields rename