NEW: Allow configuration of initial insertion width for images and media

Moved default insertion dimensions logic from JS to PHP to allow setting through config API
Merge pull request #2146 from jonom/Configurable-default-width-for-Media

NEW: Allow configuration of initial insertion width for images and media