JImageHelper to handle base64 encoded streams

I found that with the use of base64-encoded data streams of image files it should be possible to integrate the creation of such streams and that JImageHelper is the best place to request it from. So i added two new methods - toBase64 and fromBase64. While the former method generates a ready to use base64-encoded data stream that can be used with an `<img/>` element's src-attribute as well as with CSS the latter takes such a stream and writes it into an image file.

The methods can be tested the following way:

```
// Array of different input types and input path scenarios to show the paths are properly handled
$files = [
   'http://www.example.com/images/powered_by.png',
   '/abs/path/to/joomla/images/powered_by.png',
   '//images/powered_by.png',
   '\\images\powered_by.png',
   'images\powered_by.png',
   '\\abs\\path\to\joomla\images\powered_by.png',

   'http://www.example.com/images/joomla_green.gif',
   '/abs/path/to/joomla/images/joomla_green.gif',
   '//images/joomla_green.gif',
   '\\images\joomla_green.gif',
   'images\joomla_green.gif',
   '\\abs\\path\to\joomla\images\joomla_green.gif',

   'http://www.example.com/images/joomla_logo_black.jpg',
   '/abs/path/to/joomla/images/joomla_logo_black.jpg',
   '//images/joomla_logo_black.jpg',
   '\\images\joomla_logo_black.jpg',
   'images\joomla_logo_black.jpg',
   '\\abs\\path\to\joomla\images\joomla_logo_black.jpg',

   'http://www.example.com/images/joomla_logo_black2.jpeg',
   '/abs/path/to/joomla/images/joomla_logo_black2.jpeg',
   '//images/joomla_logo_black2.jpeg',
   '\\images\joomla_logo_black2.jpeg',
   'images\joomla_logo_black2.jpeg',
   '\\abs\\path\to\joomla\images\joomla_logo_black2.jpeg'
];

// Iterate over the files array and output every image to your browser
foreach ($files as $f)
{
   echo '<img src="' . JImageHelper::toBase64($f) . '" border="0" alt="Image"/>';
}

$streams = [
   'powered_by.png'        => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAjCAMAAABB2AMWAAACplBMVEX////O6Lm94KHv9+j84Lj81qD+9ejg4ODAwMCAgIDw8PCCg4SSk5O73p7O57nv9ujn8tyr14f70ZT83rP+8+L6yoIAAAA0NjYVFxeKx1e32Zal0n6k1H7W7MX3+/T969D4tFH80JP7x35ERUYkJid7wUODx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d0e5oeQe9NwItS/QLynufhHOe1kUihHUxUZYnL0RrkWC/Cj7cKHw1FlcgT5Pwn//Z'
];

// Iterate over the streams array and create files to the /tmp folder.
foreach ($streams as $name => $stream)
{
   JImageHelper::fromBase64($stream, true, $name, '/tmp');
}
```
Please test and report back.
Well, i did a search for all places in the Joomla framework where this method is used `grep -r --include \*.php '>generateThumbs(' *` and it turned out the only place is the class itself - in function `createThumbs`. This means, there's no public place (yet) where the thumbnail size is entered manually and this method is called explicitely. Its rather used internally ... yet.

Last question to bring this discussion to an end: Do you want me to replace *received* by *entered*? Then i'll replace it.