Images can now also have a :class: attribute.
Made other image attributes optional as well, for nicer HTML.
It works under Python 3.4 as well.
Changed to MIT licensing.