Use nullptr instead of nsnull

nsnull has been removed from libxulrunner. Since we compile in C++11 mode
anyway, we can use nullptr instead.
Make compatible with xulrunner 18
Merge remote-tracking branch 'github-infinity0/master' into ubuntu
Rebuild for Firefox 18