fix for incorrect use of 'bool', also fix 2 older bugs in fly mode.
- panning didnt keyframe translation animation.
- when checking to key translation: speed `float` was converted to an `int` then treated as a bool, now check (speed != 0).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55455 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: misc warnings/style


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55456 954f8c5b-7b00-dc11-b283-0030488c597c