split RES into multiple files...

Rather than just force a merge on this myself, I thought I'd do a PR and ask for review...

I did this rather hastily, but I've done some brief testing in Chrome, Firefox, Safari and Opera (18, not 12) and basic functionality seems just fine.

This splits RES into files with the exception of splitting out individual modules.  There's probably some further cleanup that could be done here such as examining some of the files and moving things back and forth, etc.

It does appear in ALL browsers that we wouldn't need to concatenate these with any sort of a grunt task. That's not to say I'm 100% opposed to doing that - but there's not a functional need for it so unless there's evidence that there's a performance hit from having many files, it may be prudent to leave that out of the workflow.