adds support for content-type specification

The destination tuple accepts a new third argument in form of a list.
The list contains of MIMEType strings including wildcard options.
It will not only be set to file input as the accepted attribute, but
checked in the policy view.