[Pictures] Add a new iimage type "gif".
[Pictures] Use gif class to determine whether a gif is animated or not.