improvements to media class to support uploads.
tests to manage upload from file
Merge branch 'v7.1' of github.com:phpwax/wildfire.media into v7.1
test for uploading from string