Used for merge

*Delete the script codes.
*Modify the copy right
*Add --enable-winrtapi to configure
*Modify the doc/platform.texi
*change restrict to av_restrict, this should be a bug in compiling.
Trailing whitespace.

Also how is the API autodetected?

Also this option should be in the platform section.