urllib2 and urlparse imports adjust for py3
Added the "portrait" tag for the @page attribute

Next to using landscape you can now also specifically say that a page should be portrait. Even if this is the default it makes the css clearer.
Merge pull request #192 from ribalba/patch-1

Added the "portrait" tag for the @page attribute
Merge pull request #180 from ivantchomgue/patch-16

urllib2 and urlparse imports adjust for py3
Fix for landscape background images
Merge pull request #196 from davidfischer/landscape-background-fix

Fix for landscape background images