tests.module
RESTemplates test refactored from pageload to modules.tests
use jQuery to parse templates and pull template by name
RESLoadResourceAsText Safari support

use xhr via background page to access extension resource