Changes following Firefox's Places update

As of Firefox 21 ``nsiGlobalHistory2`` is deprecated and we must use ``mozIAsyncHistory``. This makes those changes, were were actually quite simple. 

This fixes the bug mentioned here:

https://bugzilla.mozilla.org/show_bug.cgi?id=851517