Create train-a-face-detector.lua

Your train a face detector does not work with the demo in face-detector
change it to this code and it will work fine
thanks
E