Fixed compilation warnings in SM 1.7

Use new ReadPackFunction and WritePackFunction natives in 1.7.
Added *Post forwards to most events

Those can be used to do something, after the action actually happened.