[12363] Add condition support to vendors

Add new collumn `condition_id` to tables `npc_vendor` and `npc_vendor_template`
This is expected to be usefull to ie limit supplies for a holiday and similar restrictions
[12361] Implement water script support for SSC water

This requires additional support from SD2 side
Also slightly improve performace on the UpdateunderwaterState function usage
[mr2694] some fixes after 12361/12363 and part of 12364