Add a FromStream method to ResourceHandler.

This is in regards to issue #716 

ResourceHandler needs a way to use existing streams, including those that are derived neither from strings nor files.

I decided to make this a static method rather than a constructor overload to make it more consistent with existing methods. Let me know if you prefer the constructor overload instead.