y4m input support

Can now read (not write) y4m files and could accept y4m streams on stdin.
fopen in binary mode
add license conditions
Merge remote-tracking branch 'vproject/y4minput'