Added validation to creating content from resource.

Creating from resource used to allow you to create content backed by
data resources, which broke the content view page. The
ContentController.view function now guards against rendering data
resources and the createFromResource function bails out if given another
data resource.
Currently, it just blacklists data; ideally it should use a whitelist of
data types we know we can handle.