fix bug http://bugs.openmw.org/issues/1470
Merge remote-tracking branch 'origin/master'
Fix missing M_PI define on Windows
Another way of getting M_PI
These files moved, leading to package failure
Use Ogre::Math::PI
fix http://bugs.openmw.org/issues/1340

Did I understand right that guards trigger combat after refusing pay
gold/go to jail via script?
fix bug when  you were able to kill somebody from large distance without

being spotted
Valgrind: Added constructor for KeyListT class, and added initialziation of ver member field in NIFFile class.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
Merge remote-tracking branch 'lgro/valgrind_fixes'
Merge remote-tracking branch 'mrcheko/master'
Don't clear AiSequence if there are no saved packages (eg for old savegames)
Fix triggering changed flag for all references when cell is visited

The InsertFunctor for cells was calling localRotateObject() for all references which set the mChanged flag in RefData to true.

Also clean up RefData interface slightly.
Fix incorrect trigger of change flag for static doors
Consider moved references in CellStore::listRefs
Move AiWander arrival check to time-critical section
Remove a squareroot in pathfinding
Don't allow scripted dialogue with dead actors (Fixes #1493)
Sort using ciLess, not ciEqual
Disable all other animations on death (Fixes #1483)