Fix for BA possible move bundles behind the camera

In some cases (was noticed on not good enough keyframe
pair) bundle adjuster could have moved bundles behind
the camera.

This could indeed lead to lower rewprojection error but
this is just pointless thing to do.

Now added check to residuals functor which will return
false to Ceres in cases point moved behind the camera
to prevent such issues.

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