remove cleanup of function options

* it deleted properties in hash passed by reference so that the changes
  affected unexpectedly in the caller function
format error object in log message
use the built-in wrapper of http request
hide items of page type on selection text
fix unrestored title of tab on resume startup
fx27: fix broken tab setup on resume startup

* |SSWindowStateReady| seems to be surely fire after |DOMContentLoaded|
* I don't know the related buglist
fx27: remove workaround for saving session store on restart

* this workaround was added at commit: 3b0312c , commit: 5e0ebae
* the problem seems to be fixed
* may be related to;
  [Session Restore] Ensure that we do not lose data when we write it
  https://bugzilla.mozilla.org/show_bug.cgi?id=914581