ignore vagrant work directory
More checking of the media_file parameter, also check for the parameter given but only containing whitespace. Added more tests.
Merge branch 'feature/bugfixes' into develop