load and save sound gen records
added sound gen table
added missing sound gen table columns
preparing magic effects record for use in OpenCS
load and save magic effect records
added magic effects table
improved magic effect IDs
add magic effect records for newly created games
make sure magic effects added by expansions are available
added first batch of magic effect columns (re-using existing columns)
added missing magic effect table columns
load and save pathgrid records
added pathgrid subview
Merge branch 'master' into tables
fixed pathgrid loading
Simplify getEffectMultiplier.

Both return cases were same, except for some overflow conditions.
fixed pathgrid saving
Fix typo in comments.
Cleanup:  Don't call <environment obj>.get().

mEnvironment.get() is redundant.  Switch the call to resemble the
surrounding environment get() calls, instead.
Fix HasSoulgem function to return number of soulgems