Fix linking on OpenBSD, as suggested by kpederse1
lessened the gap between HoW and GemRB (mold touch damage calculation)
implemented spontaneous casting (iwd2)

simple to enable for other games or book types:
- remove intro booktype constraint
- decompose Type for GetSpellinfoSpells
- (add sponcast.2da)
SDL2: flush the event queue after a movie

fixes getting left over touch input
SDL2: calling EndMultiGesture is better
SDL2: bufh is no longer needed or used
Mac: update the SDL2 plugin build settings
TextArea: less hacky auto scrolling
only bgs have dreams; fixes getting chapter text and innates elsewhere

all games have bg1 leftovers, but only bg2 replaced the content
skillsta.2da: extended with the Untrained column from skills.2da

we need it for that skill distinction and this way we avoid the need to read it at all
Actor::GetSkill: added iwd2 trained/untrained distinction
iwd2: made all implemented skills respect their training needs
MapControl: behavior modification to alow click and drag at any point.

also fixes a minor drawing regression
implemented the DREAM_SCRIPT_FILE pdialog.2da handling

currently used only when resting outside, so we don't have to bother
with the store window reloading
When PC fails to unlock a door, torment needs to know so it can start dialog
Dakkon has a jillion secret blades
Merge pull request #13 from chilvence/fixesonly

One pst and one general fix from chiv
GetTalkPositionFromScriptable: use the more sensible TalkPos for pst

it's the only one that has it set, so surely it was used
added pst PolymorphEx as a synonym for Polymorph, ignoring int1parameter

what ever does it do?
Actor::RefreshEffects: don't trample the silly pst disguise system