Add 'named callable' rules to Form validation library

Requested in issue #3183
Supersedes PR #3220
Add svg to config/mimes.php

Close #3199