m_media: accept upload of 'data:' urls for replace_url and insert_url functions.

(cherry picked from commit c674764fedb230b6dbd1b637792d0f1e4764d79b)

Conflicts:
	src/models/m_media.erl