Declare schema using string too

In pyramid most of configuration parameters
such as view accept object or string.
Cornice schema should accept string too.