Allow merging of Landscape and Portrait pages

* Merged pages defaulted to Portrait. This would cut off the right edge
  of a landscape page.

* Changed `merge()` to use the template sizes to guess wether the page
  is a landscape or portrait and set params in $fpdi->AddPage()
  appropriately.