Remove support for Flash and other plugins.

http://code.google.com/p/phantomjs/issues/detail?id=418

Change-Id: I8c0e5cbc9e83d69322cac07588a4bb975b78c4df
Make it possible to print pages with user-defined headers/footers.

Usage:

page.paperSize = {
  margin: "1cm",
  header: {
height: "1cm",
contents: phantom.callback(function(pageNum, numPages) {
  return "<h1>" + pageNum + " / " + numPages + "</h1>";
})
  },
  footer: {
height: "0.5cm",
contents: phantom.callback(function(pageNum, numPages) {
  return "<h2>" + pageNum + " / " + numPages + "</h1>";
})
  }
};

Note: The contents can return arbitrary HTML but since we cannot
re-layout the whole website for every page, the header/footers
must have the static height defined in the height property.

Note: The new example printheaderfooter.js shows the usage. It
also shows how one could delegate the above to a JavaScript
function on the loaded website, which allows one to print pages
and let the actually printed page decide how the header/footer
should look like.

Note: The page-counter can be reset by adding the class "phantomjs_reset_pagination"
to HTML block-elements that should reset the counter.

ISSUE: 410 (http://code.google.com/p/phantomjs/issues/detail?id=410)
Change-Id: I5f1ba2747643b2e00faa561d7e0b43bdc2cc1a4f