Added gif plugin.
Merged changes from upstream.
Fixed bug in gif plugin.
Make gif plugin to select a result randomly from the result set.
Merge branch 'kesara-master'