Fix crash on exit (BL-487)

The main crash got fixed in geckofx, but this change fixes some
missing dispose calls that might also have contributed to the
problem.
Yes, that's no longer true. The cache gets created but the caller doesn't keep a reference.