Extended handling for platforms without PIL

Some platforms do not have PIL so I added handling for that.

When creating a base64 encoded icon and PIL is not available, I've made it use my limpp library which is a pure python image library I wrote a few years ago.

If this looks good to you i'll merge it.

Also, I was thinking of merging the develop branch as it is now into master and updating the official repository. Current issues are not major and I haven't seen any regressions.