Resource and ResourceResult

These will be the classes that will support the bundled client scripts.
Tests included as well, but one I'm not yet sure how to fully test, the
other is waiting for a more complete implementation.