Separate dramalinks functions from allPages.js

The purpose of this is so that we can request dramalinks from the background
script before the DOMContentLoaded event has fired (using the "run_at" parameter
in manifest file) - this is a more efficient use of time & appears to be faster
than the previous method.