Implemented Http Resources

Implemented the Resource class, which is used to fetch a collection of
data of a certain type, along with the MockResource class which can be
set in the IoC container for the purposes of testing.