Add Favicon API

This Pull request adds a Favicon api, where you just have to put a File in the constructor instead of reading manually a file's content.

I tested this featue with this: http://newpaste.md-5.net/pxelggwjv code.
It worked perfectly.

After that I tested it without any plugin that is modifying the serverping and it worked, too.