Added type param to data packages

I've deviated a bit from the frictionless data packaging standard and
added a type param to the resource definitions. This will allow us to
specify more than one (for example) class file in a package.  Doing this
allows package maintainers to split files into manageable chunks and to
provide more descriptive file names.