Request embeds from cache using an array of URLs to reduce requests (II)

Changed embed-cache.php to accept arrays of URLs as input, returning JSON arrays. Also restructured script.js for Twitter as well as Reddit accordingly to send a single request with a URL array at the end of link processing instead of a request for each single link. Merged with recent master files.