Updated PublishedMediaStore and wrote a bunch of unit tests for it which are all now passing.
the methods in UmbracoHelper so we only have to maintain one set of code. Didn't port over the Wrap methods because I need feedback on these as to what they do/are supposed to do. Added the Media methods to UmbracoHelper using the media store stuff.