Fixed Photon wrapper, fixed t4 line endings

t4 and t4include files should now have always crlf on checkout or else
it leads to strange errors in t4 compiler