4.0 work

Fixes some validation problems, enforces permissions when adding tags and fixes some other bugs.  Also adds a test.
Yep: https://github.com/unl/UNL_MediaHub/blob/4.0_template/src/UNL/MediaHub/Manager/PostHandler.php#L373